ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foolhunger <>
Subject Ant - Pathelement with wildcard only works in Javac forked mode?
Date Wed, 27 Aug 2014 16:31:39 GMT
I encountered below issue when using Ant.

My ANT script snippets:

<path id="id.compile.classpath">
  <pathelement location="src/compile_lib1/*" />
  <pathelement location="src/compile_lib2/*" /></path>
<javac srcdir="${module.root}/${src.root}" destdir="${}"
  nowarn="${javac.nowarn}" debug="${javac.debug}" fork="${javac.fork}"
  <include name="**/*.java"/></javac>

When set fork=”true” in javac task, the wildcard pathelement works fine,
but when forked is set to false, Ant seems failed to interpret wildcard
correctly. (compilation failed, due to classpath error).

Any suggestions

<Stay Hungry, Stay Foolish>
Best Regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message