Hello By the way: I use ant4eclipse to get the same classpath as Eclipse.
I do it this way (I think Steve showed me that): classpath is a refid of a path <!-- den Klassenpfad druckbar machen --> <pathconvert pathsep="${line.separator}| |-- " property="echo.compile.classpath" refid="classpath"> </pathconvert> <!-- Klassenpfad ausgeben --> <echo level="info" message="--------------------------------------------------------"/> <echo level="info" message=" Property Classpath="/> <echo level="info" message="| |-- ${echo.compile.classpath}"/> <echo level="info" message="--------------------------------------------------------"/> -- Jürgen Knuplesch -----Ursprüngliche Nachricht----- Von: KARR, DAVID (ATTCINW) [mailto:dk0...@att.com] Gesendet: Freitag, 11. Dezember 2009 17:58 An: user@ant.apache.org Betreff: How to print out resulting classpath from a classpath variable? I'm trying to debug a problem with an Ant script executing differently between the command line and Eclipse. It comes down to Eclipse not seeming to get the same classpath as on the command line. I define the classpath that a task (OpenJPA PCTaskEnhancer) needs with an embedded "classpath" element. It might be useful if I could print out the resulting classpath according to that classpath variable and see if it looks differently on the command line and Eclipse. Is there some way I can print out the resulting contents of a classpath according to a saved "path" element? --------------------------------------------------------------------- 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