AW: Building a using annotations

2008-10-21 Thread Jan.Materne
There are no built in selectors. But you can write your own and plug in via . Here is a working example. But it has the drawback, that the *.class files must be in the same directory as the *.java files (which is mostly NOT the case). Jan selected Files: ${toStrin

AW: Can I build up a list? If so, how?

2008-10-21 Thread Jan.Materne
You could create a resource collection by specifying a (a selects only existing files). Then use an resource selector for selecting only those which dont exist. Jan >-Ursprüngliche Nachricht- >Von: Eric Wood [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 21. Oktober 2008 21:47 >An:

Building a using annotations

2008-10-21 Thread Chris
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? ---

Help with war file

2008-10-21 Thread Rez
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 folderx & all its files

ANT: Can I build up a list? If so, how?

2008-10-21 Thread Eric Wood
I'm writing some path validation code and want to be able to build a list of path elements that do not exist in the file system. Does anybody know what construct to use to build a list that I can then display all of the results once? Eric

Re: Build in multiple java versions using Ant

2008-10-21 Thread John5342
If i remember right only the stuff in the nbprojects folder is overriten by netbeans and should not be modified. You can on the other hand add targets and stuff so long as you dont touch the existing stuff in there. build.xml provided by netbeans provides some hints on how to add stuff and there is

RE: Ant project on network

2008-10-21 Thread Lucas Albers
Copy to local disk before running with Robocopy /mir Or copy /y /z /z is the network restartable option. Or use the anty directory copy task. So you are still grabbing your source from the network share. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tues

RE: scriptdef with nested fileset and mapper

2008-10-21 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 12:47 PM To: user@ant.apache.org Subject: Re: scriptdef with nested fileset and mapper /* [...] I need to patch/stamp a number of binary files during copy (packing a release product). Si

Re: scriptdef with nested fileset and mapper

2008-10-21 Thread stefanb
Hi Gilbert, thanks for the source. I've managed to hack a similar script, but your code is way more ruby style than mine ;-) I need to patch/stamp a number of binary files during copy (packing a release product). Since the replace-filters in ant are all text-based I cannot use the normal ant tas

Ant project on network

2008-10-21 Thread ext-simon.steiner
Hi, Our ant project and jars are on a network drive, if the network is slow this can cause the ant build to stop. What can we do about this other than run locally? [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. [taskdef] Could not load d