Hello,

What happens under Windows? The syntax should be the same.
What errors come up?

What do you want to do with the fileset??


If you use 

  <property name="fname" location="${mydir}/myfilename"/>

The property fname has the full path.

-- 
Jürgen Knuplesch                    

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 
-----Ursprüngliche Nachricht-----
Von: shwick [mailto:uhimat...@hotmail.com] 
Gesendet: Dienstag, 20. Januar 2009 01:35
An: user@ant.apache.org
Betreff: ****SPAM**** How include arbitrary jars on javac classpath?


Is it possible to reference paths in a file?

I have a file that contains a list of paths to jars, ex:

home/user1/jar1.jar
home/user1/toolbox/jar2.jar
randomDir/jar3.jar
...

I was able to reference them by setting dir to the root directory,

<fileset dir="/" includesfile="theFile"/>

but this is going to be used on windows and linux, so what happens for windows?

I need to refer to absolute paths.  I tried setting dir="" and prefixing the 
paths with / but that didn't work.

Any help is appreciated.
--
View this message in context: 
http://www.nabble.com/How-include-arbitrary-jars-on-javac-classpath--tp21554837p21554837.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to