Referencing command line args?

2008-07-04 Thread Roman Kennke
Hi there, is it possible to define command line args for the exec and apply tasks elsewhere and reference them, just like is possible with path-like structures in other commands? This would be very helpful to avoid duplication in a project that I'm implementing. So far, the only option is to use p

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-01 Thread Roman Kennke
Hi, The foreach task from ant-contrib could help: http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html Dunno how to get the lines of a file in a list though. I'm sure it is possible. /Roman Am Mittwoch, den 02.07.2008, 00:20 +0100 schrieb Paul Taylor: > Hi, sure simple enough, but cant

Re: Advanced includes/excludes for javac

2008-06-23 Thread Roman Kennke
Hi Dominique, > > I have a problem with the javac task that I cannot solve, maybe somebody > > can help me. Let's say I have a directory layout like this: > > > > src/proj1/Class1.java > > src/proj1/Class2.java > > src/proj2/Class1.java > > src/proj2/Class2.java > > > > Now I want to compile Cl

Re: Advanced includes/excludes for javac

2008-06-23 Thread Roman Kennke
Hi there, > I'm at a loss... > > Just curious, why are you doing this or need to do this? I'm developer of a Java VM project, and we are using most of the class library from GNU Classpath or OpenJDK, and replace some pieces, like the java.lang package (the stuff that is closest to the VM basical

Re: Advanced includes/excludes for javac

2008-06-23 Thread Roman Kennke
Hi Scot, > Give this a try: > > > > I don't think this works because the include/exclude is always relative to the src dirs. I think I could trick it by setting the source dir to some common top-level dir of the two subprojects, but then the javac task could not map the source to class

Advanced includes/excludes for javac

2008-06-23 Thread Roman Kennke
Hi there, I have a problem with the javac task that I cannot solve, maybe somebody can help me. Let's say I have a directory layout like this: src/proj1/Class1.java src/proj1/Class2.java src/proj2/Class1.java src/proj2/Class2.java Now I want to compile Class1 from proj1 and Class2 from proj2