For Example in shell script:
_CLASSPATH =.
for jar in lib/*.jar
do
_CLASSPATH=${_CLASSPATH}:${jar}
done
How can I dynamically build a Java classpath in Perl?
I have a controller method with the following signature:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult UpdateValues(int id, MyViewModel[] array)
{
}
The id is normally picked up as part of the Url on other GET controller methods (I have a working route that does this)
I am successfully passing the array1 from the form in my view to the controller method, but how do I also put the id onto my Url so that when the user clicks the Submit button, the controller method will pick up the ID?
I want to send an email if the build fails to the developers, with the fail details. I'm also wants to send a success email to the project admins, etc with the address to the new test application.
What is the proper tool to send the actual mail, TeamCity or NAnt?
I recently joined TopCoder and have been solving a few problems on the site. Now, I want to publicly post my solutions onto my blog and have others go over it, suggest improvements, better design, etc. wherever applicable. Would this be ethical?
I am trying to query all post that are made to the wall of a facebook event. But am not making any headway. Is this at all possible. How would you proceed? Create a multiquery FQL statement?
hi all,
just curious when you post a link to facebook they seem to parse out some images and some text regarding that link. Does anyone have a guess as to how they determine what text and images to show?
How do I force a 32 bit build of boost with gcc? Currently attempting by putting this line in my user-config.jam, but it does not work.
using gcc : 4.1.2 : g++ : compileflags="-m32" ;
Chenz
When adding a PDF, CSV, etc... to a project I have to go to the properties of every file and change the build action to Content.
Is there a way to change the list of extensions that are recognized in a project so that this will happen when I include a pdf or csv in my project automatically.
Thanks,
I'm using Xcode 2.5 on Mac 10.4.11 PPC. javac -version returns 1.5.x yet when I imported my source code and tried to build it in Xcode, I get errors all over because generics, annotations, and for-each loops are not supported in -source 1.3.
I thought I found the setting to change the source version in Xcode in the above but it doesn't work. Any ideas?
This is the default stuff in post-commit.tmpl, which I don't think do anything useful:
REPOS="$1"
REV="$2"
mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf
How to make use of this hook to automate the deployment?
In XCode is it possible to build a clean version of my project and remove any saved property lists associated with it?
I'm refactoring my code constantly and the old property list that gets saved is causing my app to crash because the data has become old and rotten.
Hi, I'm new to *N*X OSes, actually MacOS, and when I try to build sources with make and makefiles, I never can.
I try to run make, even try to run it passing the makefile as an argument, but all I get is "There's nothing for make to do"
Can you point me to a tutorial, reference, or something ?
So, in your experience, whats the best way? Is there a secure way that's also scriptable/triggerable in a build automation tool?
Edit: I should mention this is windows/.net and I'll be deploying to iis6
I am from a windows background (VC++), and moved to Linux (Ubuntu) about a year ago.
I would like to be able to write simple make files to build the following types of binaries:
A shared library
An executable that links into third party libraries (static and shared libraries)
Create an install section in my makefile (which can then be used my checkinstall)
What's Sinatra's equivalent of Rails' redirect_to method? I need to follow a Post/Redirect/Get flow for a form submission whilst preserving the instance variables that are passed to my view.
Does the redirect method preserve them? (I'm at work at the moment and don't have access to Sinatra to try for myself.)
Hello,
I have an update panel which contains a few controls, a Place Holder which is dynamically populated (i don't know if this is what is causing the error) and after the a post is made the server is returning 0|error|500| only that, everything is working fine in my development machine, but something is wrong on server (Windows Server 2008, IIS 7) any thoughts about what's happening or any approach to catch that error on server and view the details of the error.
thanks.
I need to build an application that accepts user input data (such as name, address, amount, etc.) and then merges it with a pre-loaded document template (order form) and then prints this merged document. I can use Windows Forms or WPF for this project.
Any suggestions on how best to approach this? I'm experienced with Winforms development, but don't have any idea how to handle merging the data to the document for printing.
I wish to test the new features that will came with the next JDK like project coin, project lambda etc. but the last JDK 7 to download will not have any already implemented!
From which build can I test them?
I think it's incredible that, now in may 2010 at few months to the official final release (november 2010????) for we developers there is no possibility to test any of this features!!
What I'd like to do is write just Lazy C++ .lzz files and then have lzz run before a build to generate .cpp and .h files that will be built into the final application, sort of like how moc works with Qt.
Is there any way to do this?
I am using hudson and the "Publish artifacts to FTP" option. It makes up its own directory based on the date and time of the build. I would like to override that with a fixed name/location. How can I do that? Is it possible?
I need to make list of employees (inside a post) where I have an image to the left, and some text to the right.
What is the best way of making this table without writing HTML?
(My customer does not know HTML)
I found this site is just what I need.
http://www.freeingweb.com/
I want to build a personal Poxey tool coz quite a lot of great sites were blocked for me. Which technique should I learn? Is PHP enough for the job?