ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "query" <search2...@rediffmail.com>
Subject Re: Re: Classpath issue with <javac> task
Date Thu, 14 Jun 2007 07:17:11 GMT
  
Definitions are as given below:

<property name="dst" value="E:\ANTBUILD\eg\tempclass"/>
<path id="app.path">
   <pathelement path="${JDK15_CLASSPATH}"/>
   <fileset dir="${build.path}">
     <include name="eg1/eg1.jar"/> 
   </fileset>
</path>  


On Tue, 12 Jun 2007 Scot P.Floess wrote :
>First off what is the value of dst?
>
>Second, what is the definition of app.path?
>
>query wrote:
>>   Hi,
>>
>>I have been using ANT tool to compile java source files.
>>
>><javac srcdir="${src}" destdir="${dst}" includeAntRuntime="no" includes="**/*.java">
>>    <classpath refid="app.path"/>
>></javac>
>>
>>In the log file, it is displaying the destination folder also in the classpath though
I have not defined it in classpath.
>>Is it <javac> task bug?
>>
>>Log file:
>>
>>[javac] Using modern compiler
>>     [javac] Compilation arguments:
>>     [javac] '-d'
>>     [javac] 'E:\ANTBUILD\eg\tempclass'
>>     [javac] '-classpath'
>>     [javac] 'E:\ANTBUILD\eg\tempclass';C:\PROGRA~1\jdk1.5.0;E:\ANTBUILD\eg\eg1.jar
>>     [javac] '-sourcepath'
>>     [javac] 'E:\ANTBUILD\eg\tempsource'
>>     [javac] '-g:none'
>>     [javac]     [javac] The ' characters around the executable and arguments are
>>     [javac] not part of the command.
>>
>> 
>
>-- Scot P. Floess
>27 Lake Royale
>Louisburg, NC  27549
>
>252-478-8087 (Home)
>919-392-6730 (Work)
>
>Chief Architect JPlate  http://sourceforge.net/projects/jplate
>Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

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