ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32397] - Javac task appends environment classpath even with fork=true
Date Thu, 25 Nov 2004 22:48:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32397





------- Additional Comments From kedsam@yahoo.com  2004-11-25 23:48 -------
(In reply to comment #1)
> Can you post the <javac> command in question?
I am including snippets of xml that I think explain the
situation. If it doesn't give enough info, I may be able to
send entire build.xml
I tried using classpathref attribute instead
of nested classpath element. Same problem.

<project name="PONNMS" default="dir" basedir=".">

  <!-- Set up the classpath -->
  <path id="pon.classpath">
    <!--<pathelement path="${classpath}"/>-->
    <pathelement path="${pon.lib.dir}"/>
    <fileset dir="${pon.lib.dir}">
      <include name="**/*.jar"/>
    </fileset>
    <fileset dir="${pon.javapkg.dir}">
      <include name="**/*.jar"/>
    </fileset>
    <!--<pathelement path="${java.class.path}"/>-->
  </path>
  ....
  ....
  <!-- Server target -->
  <target name="server" description="Builds all of PON Server" depends="init, 
idl">
    <echo message="Building PON server..."/>
    <pathconvert pathsep="${path.separator}" property="ponclasspath" 
refid="pon.classpath"/>
    <echo message="classpath is ${ponclasspath}"/>
    <javac srcDir="${pon.src.dir}"
           destDir="${pon.dest.dir}"
           debug="${pon.debug}"
           deprecation="${pon.deprecation}"
           optimize="${pon.optimize}"
           fork="true">
      <classpath refid="pon.classpath"/>
      <include name="**/*.java"/>
      <exclude name="idl/**/*.java"/>
      <excludesfile name="pon.excludes"/>
      <excludesfile name="pon.excludes.local" if="user.has.excludes"/>
    </javac>
  </target>






-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message