Re: Storing all libs in SCM?

2008-06-02 Thread Mike Spross
On Mon, Jun 2, 2008 at 3:45 PM, Tim Visher <[EMAIL PROTECTED]> wrote: > I've gotten things to work by putting the necessary lib files in > ANT_HOME/lib and by using the -lib flag to specify an alternate > location that also has the necessary lib files, but I can't figure out > how to pass somethin

Re: shared ant installation

2008-06-02 Thread Dominique Devienne
On Mon, Jun 2, 2008 at 4:44 PM, Shawn Castrianni <[EMAIL PROTECTED]> wrote: > After more investigation, I guess it isn't even getting to my import. I > think it is dying on just trying to invoke ant from a Windows UNC path. If I > just type: > > \\\dir1\dir2\dir3\ant\bin\ant > > it gives me the

RE: shared ant installation

2008-06-02 Thread Shawn Castrianni
After more investigation, I guess it isn't even getting to my import. I think it is dying on just trying to invoke ant from a Windows UNC path. If I just type: \\\dir1\dir2\dir3\ant\bin\ant it gives me the same error as before. Is it possible to run ant from a network share on windows? ---

shared ant installation

2008-06-02 Thread Shawn Castrianni
I am trying to produce a sandbox with ant and some master build scripts such that all my developers can point to the network share for ant. I am hoping to use this to prevent everybody from having to install my ant sandbox locally which can get out of date. By everyone pointing to the network

Re: Storing all libs in SCM?

2008-06-02 Thread David Weintraub
The standard is to put your JAR files in a single directory like $PROJ_DIR/lib or $PROJ_DIR/extern. Some people will divide up their jars into various directories that might be needed for special types of builds. For example: extern/lib for all standard libraries, extern/server for JARs that are ne

Storing all libs in SCM?

2008-06-02 Thread Tim Visher
Hello Everyone, I've been working on setting up an automated build environment using Ant for a few days while I try to move towards the Continuous Integration benchmark and I've run into a major snag that I can't seem to get past. I've been doing a lot of reading about Agile Processes and Continu

Re: Reading XML

2008-06-02 Thread Gilbert Rebhan
Steven Guitar schrieb: Is it possible for ant to read an XML file and package binaries according to what the XML file dictates at run time? Or would i have to create a custom task for that? Ant can handle a xmlproperty file and your ant script may be driven by the properties defined in that fi

RE: Reading XML

2008-06-02 Thread Loehr, Ruel
It depends what you mean by package binaries. One could argue that an ant script (which is xml) that instructs to create a zip would satisfy your question. From: Steven Guitar [EMAIL PROTECTED] Sent: Monday, June 02, 2008 1:34 PM To: user@ant.apache.or

Reading XML

2008-06-02 Thread Steven Guitar
Is it possible for ant to read an XML file and package binaries according to what the XML file dictates at run time? Or would i have to create a custom task for that? Sent from my iPhone - To unsubscribe, e-mail: [EMAIL PROT

RE: Configurations really hard to understand

2008-06-02 Thread Loehr, Ruel
Yes, I struggled with it too at first. In my main project, I usually publish a directory config called runtime which just has the absolute necessary runtime dependencies. Then for any project which consumes my original one, I define a compile configuration which "eat" the runtime one. conf="c

Re: Configurations really hard to understand

2008-06-02 Thread buzzterrier
I am new to Ivy coming over from Maven, and I too am having difficulty figuring out configurations (glad I am not alone ). I like Xavier's suggestion below about providing a set of mappings that are similar to Maven's scopes. Did this idea get dropped? If so, perhaps you could update the document

Re: how to echo propertyset to file?

2008-06-02 Thread Gilbert Rebhan
Hi, David David Weintraub schrieb: Just curious... Where is the ${tostring:} function and other types of functions documented in Ant Once i've read here on the list about it and from that on i've used it all the time. It's not documented in the manuals, but well known among experienced ant us

Re: how to echo propertyset to file?

2008-06-02 Thread David Weintraub
Just curious... Where is the ${tostring:} function and other types of functions documented in Ant? It would be nice to see a list of all such functions. On Mon, Jun 2, 2008 at 10:36 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Weintraub [mailto:[EM

Replacing tokens in file does not work!!

2008-06-02 Thread Arun
Hi, I am trying to implement a build number system where all static files in my web application will have a build number appended the filenames. Basically I am caching everything and when a new build happens all cache should get cleared. I have done renaming the files using inside element. As a

RE: how to echo propertyset to file?

2008-06-02 Thread Rebhan, Gilbert
-Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 4:13 PM To: Ant Users List Subject: Re: how to echo propertyset to file? /* The easiest way to turn a resource ID into something that can be echoed is to set a property via a resource ID:

RE: how to echo propertyset to file?

2008-06-02 Thread Rebhan, Gilbert
-Original Message- From: Daniel Gröndal [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 4:25 PM To: Ant Users List Subject: RE: how to echo propertyset to file? /* Hi! Well, not too bad. This might be a good starting point. I would however like to replace the "," with a newline a

RE: how to echo propertyset to file?

2008-06-02 Thread Daniel Gröndal
Hi! Well, not too bad. This might be a good starting point. I would however like to replace the "," with a newline and get an output like this: foo_four=four foo_one=one foo_three=three foo_two=two Any ideas on how to do this as well? //daniel -Original Message- From: David Weintraub

Re: Exclude files from an archive of a zipgroupfileset

2008-06-02 Thread hdockter
The include and exclude statements applied to the zipgroupfileset define which archives are part of the zipgroupfileset. As far as I can tell you can't use them to modify which files of an archive should be excluded for example. - Hans David Weintraub wrote: > > According to the Ant documentat

Re: how to echo propertyset to file?

2008-06-02 Thread David Weintraub
The easiest way to turn a resource ID into something that can be echoed is to set a property via a resource ID: Property Set: ${midlet_property_set} I just ran a test: project name="myapp" default="test" basedir=".">

Re: Exclude files from an archive of a zipgroupfileset

2008-06-02 Thread David Weintraub
According to the Ant documentation, uses all the attributes of including the "excludes" attribute. (See ). You could probably (although I've never tried this) use and subtasks as you can in . On Mon, Jun 2, 2008 at 8:21 AM, hdockter <[EM

Exclude files from an archive of a zipgroupfileset

2008-06-02 Thread hdockter
Is there a way to exclude files from an archive of a zipgroupfileset? If not, is this a planned feature for a future release. - Hans -- Hans Dockter Gradle Project lead http://www.gradle.org -- View this message in context: http://www.nabble.com/Exclude-files-from-an-archive-of-a-zipgroupfiles

ivy:publish / ssh

2008-06-02 Thread Tobias . Himstedt
Hi there, I'm not an Ivy nor ssh expert, so forgive me if this a dumb request. Currently I'm not able to use ivy:publish in conjunction with ssh on our server (=> Auth fail). As far as I understood it, it has someting to do with the way the password is handled over and that password authenticat

RE: how to echo propertyset to file?

2008-06-02 Thread Rebhan, Gilbert
-Original Message- From: Daniel Gröndal [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 11:30 AM To: user@ant.apache.org Subject: how to echo propertyset to file? p.s. beware of the typos ;-) forgot also the append="true" attribute in the echo task corrected = ... Just use =

RE: how to echo propertyset to file?

2008-06-02 Thread Rebhan, Gilbert
-Original Message- From: Daniel Gröndal [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 11:30 AM To: user@ant.apache.org Subject: how to echo propertyset to file? /* Hi all! I have a problem echoing a set of properties to a specified file. I have a number of properties which h

how to echo propertyset to file?

2008-06-02 Thread Daniel Gröndal
Hi all! I have a problem echoing a set of properties to a specified file. I have a number of properties which have a common prefix, but the exact number is undefined, so these properties are selectable by a propertyset by I do not know the exakt number. The reason for this somewhat uncommon