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] New: - Javac task appends environment classpath even with fork=true
Date Thu, 25 Nov 2004 21:06:22 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

           Summary: Javac task appends environment classpath even with
                    fork=true
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P1
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: kedsam@yahoo.com


When my source code needs to compiled, I would like to
use exact classpath value as prepared by me. Because production deployment
will not include ANT libs. Using ant libs as part of compile classpath
gives false impression that code compiles.

======================
Detected Java version: 1.4 in: C:\j2sdk1.4.2\jre
Detected OS: Windows XP
parsing buildfile D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build\newbuild.xml with URI = 
file:///D:/ccm_wa/ponnms,kp01hawser2.2co-relation/ponnms/build/newbuild.xml
Project base dir set to: D:\ccm_wa\ponnms,kp01hawser2.2co-relation\ponnms\build
 [property] Loading D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build\build.properties
 [property] Loading D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build\build.properties.local
 [property] Unable to find property file: D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build\build.properties.local
Build sequence for target `server' is [init, -check_idl, idl, server]
Complete build sequence is [init, -check_idl, idl, server, all, cleanidl, 
cleanserver, cleanall, idlgen, idlcompile, jar_idl, -idlgenUnix, apidoc, -
idlgenPC, dir, cleandist, dist, cleandir, dos2unix, clean, help, checkstyle, ]

init:
     [echo] Time: 11/25/2004 03:59:16 PM
[available] Unable to find pon.excludes.local to set property user.has.excludes
     [echo] Project Root [D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build/..]
     [echo] Project Src  [D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build/../src]
     [echo] Project Dest [D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build/../lib]
     [echo] Project Lib  [D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\build/../lib]
     [echo] Current Dir  []

-check_idl:
[available] Found: D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon_idl2.2.jar

idl:
Skipped because property 'idl.jar.present' set.

server:
     [echo] Building PON server...
[pathconvert] Set property ponclasspath = D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon_idl2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetLogging.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetSnmp.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant_launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\avalon_framework.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\checkstyle_all.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-dbcp-1.2.1.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-pool-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_cli.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_collections_2.21.jar;D:\ccm_wa\ponnms,kp01hawser
2.2co-relation\ponnms\javapkg\cup.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ifxjdbc.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jakarta-regexp-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jdom.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\joesnmp-0.2.6.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\logkit.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_evaluator_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ins_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_native_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_notify_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_orb_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_orb_omg_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2
co-
relation\ponnms\javapkg\openorb_orb_tools_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ots_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_pss_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\tools_1.4.0.jar
     [echo] classpath is D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon_idl2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetLogging.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetSnmp.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant_launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\avalon_framework.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\checkstyle_all.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-dbcp-1.2.1.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-pool-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_cli.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_collections_2.21.jar;D:\ccm_wa\ponnms,kp01hawser
2.2co-relation\ponnms\javapkg\cup.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ifxjdbc.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jakarta-regexp-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jdom.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\joesnmp-0.2.6.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\logkit.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_evaluator_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ins_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_native_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_notify_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_orb_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_orb_omg_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2
co-
relation\ponnms\javapkg\openorb_orb_tools_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ots_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_pss_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\tools_1.4.0.jar
    [javac] com\vz\ponnms\TL1Handler\CmdObject.java omitted as 
com/vz/ponnms/TL1Handler/CmdObject.class is up to date.
    [javac] com\vz\ponnms\TL1Handler\ConnInfo.java omitted as 
com/vz/ponnms/TL1Handler/ConnInfo.class is up to date.
    [javac] com\vz\ponnms\TL1Handler\ConnObject.java omitted as 
com/vz/ponnms/TL1Handler/ConnObject.class is up to date.
    [javac] com\vz\ponnms\TL1Handler\ConnectingService.java omitted as 
com/vz/ponnms/TL1Handler/ConnectingService.class is up to date.
.........
.........
    [javac] Compiling 3 source files to D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib
    [javac] Using external javac compiler
    [javac] Compilation arguments:
    [javac] '-deprecation'
    [javac] '-d'
    [javac] 'D:\ccm_wa\ponnms,kp01hawser2.2co-relation\ponnms\lib'
    [javac] '-classpath'
    [javac] 'D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\lib\pon_idl2.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetLogging.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\AdventNetSnmp.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ant_launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\avalon_framework.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\checkstyle_all.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-dbcp-1.2.1.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons-pool-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_cli.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\commons_collections_2.21.jar;D:\ccm_wa\ponnms,kp01hawser
2.2co-relation\ponnms\javapkg\cup.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\ifxjdbc.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jakarta-regexp-1.2.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\jdom.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\joesnmp-0.2.6.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\launcher.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\logkit.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_evaluator_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ins_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_native_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_notify_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2c
o-
relation\ponnms\javapkg\openorb_orb_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_orb_omg_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2
co-
relation\ponnms\javapkg\openorb_orb_tools_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2
.2co-
relation\ponnms\javapkg\openorb_ots_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\openorb_pss_1.4.0.jar;D:\ccm_wa\ponnms,kp01hawser2.2co-
relation\ponnms\javapkg\tools_1.4.0.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
launcher.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-antlr.jar;D:\javapkg\apache-
ant-1.6.2\lib\ant-apache-bcel.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-apache-
bsf.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-apache-log4j.jar;D:\javapkg\apache-
ant-1.6.2\lib\ant-apache-oro.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-apache-
regexp.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-apache-
resolver.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-commons-
logging.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-commons-
net.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-icontract.jar;D:\javapkg\apache-ant-
1.6.2\lib\ant-jai.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
javamail.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-jdepend.jar;D:\javapkg\apache-
ant-1.6.2\lib\ant-jmf.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
jsch.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-junit.jar;D:\javapkg\apache-ant-
1.6.2\lib\ant-netrexx.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
nodeps.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-starteam.jar;D:\javapkg\apache-
ant-1.6.2\lib\ant-stylebook.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
swing.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-trax.jar;D:\javapkg\apache-ant-
1.6.2\lib\ant-vaj.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-
weblogic.jar;D:\javapkg\apache-ant-1.6.2\lib\ant-xalan1.jar;D:\javapkg\apache-
ant-1.6.2\lib\ant-xslp.jar;D:\javapkg\apache-ant-1.6.2
\lib\ant.jar;D:\javapkg\apache-ant-1.6.2\lib\catalina-ant.jar;D:\javapkg\apache-
ant-1.6.2\lib\catalina-deployer.jar;D:\javapkg\apache-ant-1.6.2
\lib\xercesImpl.jar;D:\javapkg\apache-ant-1.6.2\lib\xml-apis.jar;C:\j2sdk1.4.2
\lib\tools.jar'
    [javac] '-sourcepath'
    [javac] 'D:\ccm_wa\ponnms,kp01hawser2.2co-relation\ponnms\src'
    [javac] '-g'
    [javac] '-O'

-- 
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