Re: multiple project setup

2008-10-22 Thread Archie Cobbs
Not sure if this will work or not, but you might try turning off caching and setting useOrigin="true" everywhere... -Archie On Wed, Oct 22, 2008 at 4:48 PM, Greg George <[EMAIL PROTECTED]> wrote: > Hi, > > I'm looking into whether Ivy might be a good fit for our build system. We > have a multi-

RE: create property value that has metacharacter by escaping meta characters.

2008-10-22 Thread Lucas Albers
I wish to have a property value that contains this: "http://cvsweb/cgi-bin/cvs/cvshistorycvsroot=blah&dsearch=rnt&dsearc hsub=on&limit=1&revsel1=na&revsel2=na&datesel1=na&datesel2=na&selop=in&opT=o n&opM=on&opA=on&opR=on&rss=1" ant complains about the meta-characters inside it. I am trying to che

Re: create property value that has metacharacter by escaping meta characters.

2008-10-22 Thread Scot P. Floess
Do you mean escape the meta-characters? Or do you want the actual characters to be contained in the property itself? On Wed, 22 Oct 2008, Lucas Albers wrote: I would like to refer to a url link that has meta-characters in it. How would I use CDATA or similar to comment out the meta-charac

Re: error with example hello-ivy encountered

2008-10-22 Thread Maarten Coene
This is a known problem and has been fixed in current SVN and in the upcoming RC2 version. You can workaround it by manually specifying the retrieve pattern to something like "${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]" Maarten - Original Message From: metopia <[EMAIL

error with example hello-ivy encountered

2008-10-22 Thread metopia
When I download, install the ivy jar file and run the example hello-ivy the first time, it runs fine. building it again throws an error. Both messages are pasted below. Can someone please take a look and let me know what is going wrong here? #

Is there a way to make the get task timezone aware?

2008-10-22 Thread Settle, William
We are using the "get" task to fetch dependenencies from different build servers and have the "usetimestamp" attribute set to true for example: If the client that runs the ant script is in a different time zone than the server that is hosting the jar, the "usetimestamp" does not work. In othe

Re: Can I rename a file when jarring it?

2008-10-22 Thread supareno
Hendrik , check out this: http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper and this: http://ant.apache.org/manual/CoreTasks/copy.html "[...] *Copy a set of files to a directory, appending |.bak| to the file name on the fly* [...]" Hi, I create a jar with some

create property value that has metacharacter by escaping meta characters.

2008-10-22 Thread Lucas Albers
I would like to refer to a url link that has meta-characters in it. How would I use CDATA or similar to comment out the meta-characters? This is an example of the property value I wish to use. What is the sample syntax to do this? I cannot find any sample syntax's to comment out meta

RE: Help with war file

2008-10-22 Thread Rez
Thanks Mark. I did omit the prefix attribute and files at the root of folderx got dumped at the root of the war file and since I do have some files with duplicate names at the root already and the duplicate attribute in the war task being set to fail, my war target failed miserably. I do want

Re: javac source and target default values

2008-10-22 Thread Dave
Hey Naaman,Ant uses whatever JDK JAVA_HOME is to. if you type: echo %JAVA_HOME% on the command line, where does it point to? Also do the following: echo %PATH% and see if there is any JDK 5\bin directory on the system path? On Wed, Oct 22, 2008 at 5:23 PM, nlif <[EMAIL PROTECTED]> wrote: > > jav

RE: javac source and target default values

2008-10-22 Thread nlif
javap says: major version = 50 minor = 0 Anyway, I have other proof that it's compiling as 1.5, but what's bugging me is where the defaults come from... Toomey, Kevin H (ATS, IT) wrote: > > AFAIK, Ant doesn't supply default values. The default value are supplied > by Java, and the value is w

RE: javac source and target default values

2008-10-22 Thread Toomey, Kevin H (ATS, IT)
AFAIK, Ant doesn't supply default values. The default value are supplied by Java, and the value is whatever version it is. I think you should first go back to the beginning and confirm your suspicions that you are creating 1.5 byte code with a 1.6 JDK. Run a javap command against one of the clas

Re: javac source and target default values

2008-10-22 Thread nlif
Thanks for the reply, but I already knew that :) What I am asking is where does ANT take the DEFAULT values from. Thanks, Scot P. Floess wrote: > > > Use the target attribute for the javac task. target="1.5" for example > > On Wed, 22 Oct 2008, nlif wrote: > >> >> Hi, >> >> I suspect tha

Re: javac source and target default values

2008-10-22 Thread Scot P. Floess
Use the target attribute for the javac task. target="1.5" for example On Wed, 22 Oct 2008, nlif wrote: Hi, I suspect that although I use JDK 1.6 to run ANT's javac task, the source/target compatability level is 1.5 and not 1.6. I know that I can -and should- specify them using the source a

javac source and target default values

2008-10-22 Thread nlif
Hi, I suspect that although I use JDK 1.6 to run ANT's javac task, the source/target compatability level is 1.5 and not 1.6. I know that I can -and should- specify them using the source and target attributes, but I would like to know where from does ANT take the default values for these attribu

Re: Build in multiple java versions using Ant

2008-10-22 Thread Andy Stevens
2008/10/20 scuzzie <[EMAIL PROTECTED]>: > Hi, > > I have a project written in NetBeans 6.1 that I need to be able to compile > on demand using any JDK version from 1.4.2, on a machine that does not have > NetBeans installed (but does have Ant of course). The app compiles under > 1.4.2 and up using

AW: Documentation bug

2008-10-22 Thread Jan.Materne
Thanks. It seems that the bug is fixed in SVN trunk: online:filtering svn trunk: filtering This was fixed in rev. 678603 by Jesse on 22. Juli 2008 which means after the release date of the current Ant 1.7.1 (27 June 2008). As the online version is the last released one I dont think that

Re: Build in multiple java versions using Ant

2008-10-22 Thread Peter Reilly
It found that execing ant is the best way to get a 1.4 javac build. I use the following presetdef: Ant figures out where the java14 exe is set based on an enforced env variable: JAVA14_HOME.

Can I rename a file when jarring it?

2008-10-22 Thread Hendrik Maryns
Hi, I create a jar with some of my own files and another jar as zipfileset. I’d like one of the files of the other jar (which I do not produce) to be renamed on the fly. Is this possible? What I have:

Re: Build in multiple java versions using Ant

2008-10-22 Thread Steve Loughran
scuzzie wrote: Hi, I have a project written in NetBeans 6.1 that I need to be able to compile on demand using any JDK version from 1.4.2, on a machine that does not have NetBeans installed (but does have Ant of course). The app compiles under 1.4.2 and up using the Ant xml files generated by Net

Documentation bug

2008-10-22 Thread Hendrik Maryns
Hi, On the page http://ant.apache.org/manual/CoreTypes/resources.html#collection, the link to ‘filtering’ does not work: Not Found The requested URL /manual/filterchain.html was not found on this server. H. -- Hendrik Maryns http://tcl.sfs.uni-tuebingen.de/~hendrik/ == Ask smar

Re: Building a using annotations

2008-10-22 Thread Mark Salter
Chris wrote: > Is it possible in Ant to create a that consists of .java files > that have some annotation? > > For example, if I create a custom annotation, like "@published", and > attach it to several classes, is there some way to get a list of such > classes in a fileset? Do you want the list

Re: Help with war file

2008-10-22 Thread Mark Salter
Rez wrote: > I'm not sure if it's possible any other way to pack a folder and all > of its subfolders and files into a war file, preserving their path > and folder structure, other than using the "prefix" attribute of the > zipfileset task. I would like my war file (testproject.war) to have > folde