ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Landon <RLan...@youbet.com>
Subject Ant dependency processing: Like I'm baffled (Still)
Date Mon, 21 Aug 2000 23:35:16 GMT
This did not seem to work.
Here is the modification I made to the build.xml file javac task

  <!-- ===================================================================
-->
  <!-- Creates the class files recursively for this directory
-->
  <!-- ===================================================================
-->
  <target name="compile_classes">
    <mkdir dir="${ewager.classbindir}"/>
    <javac srcdir="src/"
           destdir="${ewager.classbindir}"
	   classpath="${ewager.classpath}"
 
excludes="**/*.scc,**/*.sh,**/*.org,**/*.xml,**/*.log,**/*.txt,lst,.projrc" 
           includes="com/**.java"
           debug="on"
           deprecation="on" 
     />
  </target> 

See that this matches that attached to the message.

This is the organization of the build hierarchy:

(1) build.xml and build.sh are in 
    C:/ElectronicWagering
(2) Source tree is in C:/ElectronicWagering/src/com

(3) Dependencies always match (nothing ever builds)

Heres the ant listing in verbose mode.

[C:/ElectronicWagering] . build.sh -verbose compile_classes 2>&1 | tee lst
<<<<<
Buildfile: build.xml
Setting project property: ant.java.version -> 1.2
Detected Java Version: 1.2
Detected OS: Windows NT
 +User task: echo     org.apache.tools.ant.taskdefs.Echo
 +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
 +User task: rename     org.apache.tools.ant.taskdefs.Rename
 +User task: java     org.apache.tools.ant.taskdefs.Java
 +User task: compileTask     org.apache.tools.ant.taskdefs.CompileTask
 +User task: ant     org.apache.tools.ant.taskdefs.Ant
 +User task: touch     org.apache.tools.ant.taskdefs.Touch
 +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
 +User task: patch     org.apache.tools.ant.taskdefs.Patch
 +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
 +User task: exec     org.apache.tools.ant.taskdefs.Exec
 +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
 +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
 +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: tar     org.apache.tools.ant.taskdefs.Tar
 +User task: untar     org.apache.tools.ant.taskdefs.Untar
 +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
 +User task: expand     org.apache.tools.ant.taskdefs.Expand
 +User task: available     org.apache.tools.ant.taskdefs.Available
 +User task: javac     org.apache.tools.ant.taskdefs.Javac
 +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
 +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
 +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
 +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
 +User task: jar     org.apache.tools.ant.taskdefs.Jar
 +User task: unjar     org.apache.tools.ant.taskdefs.Expand
 +User task: replace     org.apache.tools.ant.taskdefs.Replace
 +User task: keysubst     org.apache.tools.ant.taskdefs.KeySubst
 +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
 +User task: filter     org.apache.tools.ant.taskdefs.Filter
 +User task: property     org.apache.tools.ant.taskdefs.Property
 +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
 +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
 +User task: get     org.apache.tools.ant.taskdefs.Get
 +User task: unzip     org.apache.tools.ant.taskdefs.Expand
 +User task: zip     org.apache.tools.ant.taskdefs.Zip
 +User task: gzip     org.apache.tools.ant.taskdefs.GZip
 +User task: delete     org.apache.tools.ant.taskdefs.Delete
 +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
 +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
Setting project property: ant.home -> C:/jakarta-antV1.1
Setting project property: java.specification.name -> Java Platform API
Specification
Setting project property: awt.toolkit -> sun.awt.windows.WToolkit
Setting project property: java.version -> 1.2.2
Setting project property: j2ee.home -> C:/J2SDKEE1.2
Setting project property: java.awt.graphicsenv ->
sun.awt.Win32GraphicsEnvironment
Setting project property: user.timezone -> America/Los_Angeles
Setting project property: java.specification.version -> 1.2
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vm.specification.version -> 1.0
Setting project property: user.home -> C:\WINNT\Profiles\rlandon
Setting project property: os.arch -> x86
Setting project property: java.awt.fonts -> 
Setting project property: java.vendor.url -> http://java.sun.com/
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.region -> US
Setting project property: java.home -> c:\jdk1.2.2\jre
Setting project property: java.class.path ->
C:/J2SDKEE1.2/lib/j2ee.jar;C:/jakarta-antV1.1/lib/ant.jar;C:/jakarta-antV1.1
/lib/jaxp.jar;C:/jakarta-antV1.1/lib/parser.jar;C:/JDK1.2.2/lib/tools.jar;C:
/JUnit3.2/junit.jar;C:/JUnit3.2;
Setting project property: line.separator -> 

Setting project property: java.ext.dirs -> c:\jdk1.2.2\jre\lib\ext
Setting project property: java.io.tmpdir -> C:\TEMP\
Setting project property: os.name -> Windows NT
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: java.awt.printerjob -> sun.awt.windows.WPrinterJob
Setting project property: java.library.path ->
c:\jdk1.2.2\bin;.;C:\WINNT\System32;C:\WINNT;./;c:\zip;c:\vod\bin;c:\Oracle\
Oem81\bin;C:\Oracle\Ora81\bin;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\Inprise\AppServer\bin;C:\Iona\bin;C:\Iona\COMe
t\Bin;C:\Iona\contrib;c:\mks51a\mksnt;c:\YBISysNT;C:\WINNT\system32;C:\WINNT
;C:\DMI\bin;C:\MSSQL7\BINN;C:\Program Files\Microsoft
Office\Office;c:\J2SDKEE1.2\bin;c:\JDK1.2.2\bin;c:\JPDA1.0\bin;c:\junit3.2\b
in;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;C:\Program Files\Microsoft
Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;H:/bin
Setting project property: java.vm.specification.vendor -> Sun Microsystems
Inc.
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: file.encoding -> Cp1252
Setting project property: java.specification.vendor -> Sun Microsystems Inc.
Setting project property: user.name -> RLandon
Setting project property: user.language -> en
Setting project property: java.vendor.url.bug ->
http://java.sun.com/cgi-bin/bugreport.cgi
Setting project property: ewager.javadoc.classpath ->
C:/J2SDKEE1.2/lib/j2ee.jar;../build/lib/classes
Setting project property: java.vm.name -> Classic VM
Setting project property: java.vm.specification.name -> Java Virtual Machine
Specification
Setting project property: java.class.version -> 46.0
Setting project property: sun.boot.library.path -> c:\jdk1.2.2\jre\bin
Setting project property: os.version -> 4.0
Setting project property: java.vm.info -> build JDK-1.2.2_005, native
threads, nojit
Setting project property: java.vm.version -> 1.2.2
Setting project property: java.compiler -> NONE
Setting project property: path.separator -> ;
Setting project property: user.dir -> C:\ElectronicWagering
Setting project property: file.separator -> \
Setting project property: sun.boot.class.path ->
c:\jdk1.2.2\jre\lib\rt.jar;c:\jdk1.2.2\jre\lib\i18n.jar;c:\jdk1.2.2\jre\clas
ses
Setting ro project property: ant.file -> C:\ElectronicWagering\build.xml
Setting project property: basedir -> C:\ElectronicWagering
Project base dir set to: C:\ElectronicWagering
   +Task: property
Setting project property: build.compiler -> classic
   +Task: property
Setting project property: ewager.build -> ./build
   +Task: property
Setting project property: ewager.src -> ./src/
   +Task: property
Setting project property: ewager.classbindir -> ./build/lib/classes
   +Task: property
Setting project property: ewager.srcdocroot -> ./src//docroot
   +Task: property
Setting project property: ewager.destdocroot -> ./build/docroot
   +Task: property
Setting project property: ewager.classpath ->
./build/lib/classes:C:/J2SDKEE1.2/lib/j2ee.jar
   +Task: property
Setting project property: utilone.classes ->
com/youbet/ewager/util/AspectAdaptor.class:com/youbet/ewager/util/Assert.cla
ss:com/youbet/ewager/util/CheckedApplicationException.class:com/youbet/ewage
r/util/ContractFulfillmentException.class:com/youbet/ewager/util/Copyable.cl
ass:com/youbet/ewager/util/CouldNotAccessException.class:com/youbet/ewager/u
til/CouldNotAddException.class:com/youbet/ewager/util/CouldNotAssignExceptio
n.class:com/youbet/ewager/util/CouldNotCompareException.class:com/youbet/ewa
ger/util/CouldNotConvertException.class:com/youbet/ewager/util/CouldNotCopyE
xception.class:com/youbet/ewager/util/CouldNotFindFactoryException.class:com
/youbet/ewager/util/CouldNotGetSessionException.class:com/youbet/ewager/util
/CouldNotInitializeException.class:com/youbet/ewager/util/CouldNotInstantiat
eException.class:com/youbet/ewager/util/CouldNotRemoveException.class:com/yo
ubet/ewager/util/CouldNotUpdateException.class:com/youbet/ewager/util/Cursor
edEnumeration.class:com/youbet/ewager/util/CursoredEnumerationImpl.class
   +Task: property
Setting project property: utiltwo.classes ->
com/youbet/ewager/util/Exceptions.class:com/youbet/ewager/util/ExceptionUtil
s.class:com/youbet/ewager/util/FatalApplicationException.class:com/youbet/ew
ager/util/GeneralizedHashtable.class:com/youbet/ewager/util/JavaFacade.class
:com/youbet/ewager/util/LoggingExceptionFactory.class:com/youbet/ewager/util
/ObjectDeletedException.class:com/youbet/ewager/util/OneArgumentFunction.cla
ss:com/youbet/ewager/util/OneArgumentPredicate.class:com/youbet/ewager/util/
OperationResult.class:com/youbet/ewager/util/ResponseTime.class:com/youbet/e
wager/util/SimpleEncryptionService.class:com/youbet/ewager/util/SimpleIntVec
tor.class:com/youbet/ewager/util/SimpleOIDVector.class:com/youbet/ewager/uti
l/Tokenizer.class:com/youbet/ewager/util/TwoArgumentFunction.class:com/yoube
t/ewager/util/WrappingException.class:com/youbet/ewager/util/WrappingRuntime
Exception.class:com/youbet/ewager/util/WriteWriteException.class
   +Task: property
Setting project property: control.exceptions ->
com/youbet/ewager/control/EWagerEventException.class:com/youbet/ewager/contr
ol/GeneralFailureException.class
   +Task: property
Setting project property: control.ejb ->
com/youbet/ewager/control/ejb/EController.class:com/youbet/ewager/control/ej
b/EControllerHome.class:com/youbet/ewager/control/ejb/EControllerEJB.class:c
om/youbet/ewager/control/ejb/StateMachine.class:com/youbet/ewager/control/ej
b/ModelUpdateManager.class
   +Task: property
Setting project property: control.event ->
com/youbet/ewager/control/event/EWagerCancelWagerEvent.class:com/youbet/ewag
er/control/event/EWagerEvent.class:com/youbet/ewager/control/event/EWagerPla
ceWagerEvent.class
   +Task: property
Setting project property: control.web ->
com/youbet/ewager/control/web/RequestToEventTranslator.class:com/youbet/ewag
er/control/web/RequestProcessor.class:com/youbet/ewager/control/web/ModelUpd
ateNotifier.class:com/youbet/ewager/control/web/ModelUpdateListener.class:co
m/youbet/ewager/control/web/ModelManager.class:com/youbet/ewager/control/web
/EProxyController.class
   +Task: property
Setting project property: control.classes ->
com/youbet/ewager/control/EWagerEventException.class:com/youbet/ewager/contr
ol/GeneralFailureException.class:com/youbet/ewager/control/ejb/EController.c
lass:com/youbet/ewager/control/ejb/EControllerHome.class:com/youbet/ewager/c
ontrol/ejb/EControllerEJB.class:com/youbet/ewager/control/ejb/StateMachine.c
lass:com/youbet/ewager/control/ejb/ModelUpdateManager.class:com/youbet/ewage
r/control/web/RequestToEventTranslator.class:com/youbet/ewager/control/web/R
equestProcessor.class:com/youbet/ewager/control/web/ModelUpdateNotifier.clas
s:com/youbet/ewager/control/web/ModelUpdateListener.class:com/youbet/ewager/
control/web/ModelManager.class:com/youbet/ewager/control/web/EProxyControlle
r.class:com/youbet/ewager/control/event/EWagerCancelWagerEvent.class:com/you
bet/ewager/control/event/EWagerEvent.class:com/youbet/ewager/control/event/E
WagerPlaceWagerEvent.class
   +Task: property
Setting project property: model.classes ->
com/youbet/ewager/mvc/Model.class:com/youbet/ewager/mvc/View.class:com/yoube
t/ewager/mvc/ModelInterface.class
   +Task: property
Setting project property: utilgen.classes ->
com/youbet/ewager/util/Trace.class:com/youbet/ewager/test/TraceableTestCase.
class:com/youbet/ewager/util/TraceInterface.class:com/youbet/ewager/util/Bea
nConstants.class:com/youbet/ewager/util/WebConstants.class:
   +Task: property
Setting project property: util.classes ->
com/youbet/ewager/util/AspectAdaptor.class:com/youbet/ewager/util/Assert.cla
ss:com/youbet/ewager/util/CheckedApplicationException.class:com/youbet/ewage
r/util/ContractFulfillmentException.class:com/youbet/ewager/util/Copyable.cl
ass:com/youbet/ewager/util/CouldNotAccessException.class:com/youbet/ewager/u
til/CouldNotAddException.class:com/youbet/ewager/util/CouldNotAssignExceptio
n.class:com/youbet/ewager/util/CouldNotCompareException.class:com/youbet/ewa
ger/util/CouldNotConvertException.class:com/youbet/ewager/util/CouldNotCopyE
xception.class:com/youbet/ewager/util/CouldNotFindFactoryException.class:com
/youbet/ewager/util/CouldNotGetSessionException.class:com/youbet/ewager/util
/CouldNotInitializeException.class:com/youbet/ewager/util/CouldNotInstantiat
eException.class:com/youbet/ewager/util/CouldNotRemoveException.class:com/yo
ubet/ewager/util/CouldNotUpdateException.class:com/youbet/ewager/util/Cursor
edEnumeration.class:com/youbet/ewager/util/CursoredEnumerationImpl.class:com
/youbet/ewager/util/Exceptions.class:com/youbet/ewager/util/ExceptionUtils.c
lass:com/youbet/ewager/util/FatalApplicationException.class:com/youbet/ewage
r/util/GeneralizedHashtable.class:com/youbet/ewager/util/JavaFacade.class:co
m/youbet/ewager/util/LoggingExceptionFactory.class:com/youbet/ewager/util/Ob
jectDeletedException.class:com/youbet/ewager/util/OneArgumentFunction.class:
com/youbet/ewager/util/OneArgumentPredicate.class:com/youbet/ewager/util/Ope
rationResult.class:com/youbet/ewager/util/ResponseTime.class:com/youbet/ewag
er/util/SimpleEncryptionService.class:com/youbet/ewager/util/SimpleIntVector
.class:com/youbet/ewager/util/SimpleOIDVector.class:com/youbet/ewager/util/T
okenizer.class:com/youbet/ewager/util/TwoArgumentFunction.class:com/youbet/e
wager/util/WrappingException.class:com/youbet/ewager/util/WrappingRuntimeExc
eption.class:com/youbet/ewager/util/WriteWriteException.class:com/youbet/ewa
ger/util/Trace.class:com/youbet/ewager/test/TraceableTestCase.class:com/youb
et/ewager/util/TraceInterface
   +Task: property
Setting project property: service.classes ->
com/youbet/ewager/services/EGenericService.class:com/youbet/ewager/services/
EServiceEJB.class:com/youbet/ewager/services/ServiceBroker.class:com/youbet/
ewager/services/ServiceCreator.class:com/youbet/ewager/services/ServiceExcep
tion.class:com/youbet/ewager/services/ServiceFactoryFinder.class
   +Task: property
Setting project property: ejb.classes ->
com/youbet/ewager/services/ejb/ESocketService.class:com/youbet/ewager/servic
es/ejb/ESocketServiceEJB.class:com/youbet/ewager/services/ejb/ESocketService
Home.class:com/youbet/ewager/services/ejb/ESocketServiceHelper.class:com/you
bet/ewager/services/ejb/ESocketServiceBehavior.class
   +Task: property
Setting project property: helper.classes ->
com/youbet/ewager/services/ejb/ESocketServiceHelper$1.class:com/youbet/ewage
r/services/ejb/ESocketServiceHelper$2.class:com/youbet/ewager/util/AspectAda
ptor$1.class
   +Task: property
Setting project property: all.classes ->
com/youbet/ewager/util/AspectAdaptor.class:com/youbet/ewager/util/Assert.cla
ss:com/youbet/ewager/util/CheckedApplicationException.class:com/youbet/ewage
r/util/ContractFulfillmentException.class:com/youbet/ewager/util/Copyable.cl
ass:com/youbet/ewager/util/CouldNotAccessException.class:com/youbet/ewager/u
til/CouldNotAddException.class:com/youbet/ewager/util/CouldNotAssignExceptio
n.class:com/youbet/ewager/util/CouldNotCompareException.class:com/youbet/ewa
ger/util/CouldNotConvertException.class:com/youbet/ewager/util/CouldNotCopyE
xception.class:com/youbet/ewager/util/CouldNotFindFactoryException.class:com
/youbet/ewager/util/CouldNotGetSessionException.class:com/youbet/ewager/util
/CouldNotInitializeException.class:com/youbet/ewager/util/CouldNotInstantiat
eException.class:com/youbet/ewager/util/CouldNotRemoveException.class:com/yo
ubet/ewager/util/CouldNotUpdateException.class:com/youbet/ewager/util/Cursor
edEnumeration.class:com/youbet/ewager/util/CursoredEnumerationImpl.class:com
/youbet/ewager/util/Exceptions.class:com/youbet/ewager/util/ExceptionUtils.c
lass:com/youbet/ewager/util/FatalApplicationException.class:com/youbet/ewage
r/util/GeneralizedHashtable.class:com/youbet/ewager/util/JavaFacade.class:co
m/youbet/ewager/util/LoggingExceptionFactory.class:com/youbet/ewager/util/Ob
jectDeletedException.class:com/youbet/ewager/util/OneArgumentFunction.class:
com/youbet/ewager/util/OneArgumentPredicate.class:com/youbet/ewager/util/Ope
rationResult.class:com/youbet/ewager/util/ResponseTime.class:com/youbet/ewag
er/util/SimpleEncryptionService.class:com/youbet/ewager/util/SimpleIntVector
.class:com/youbet/ewager/util/SimpleOIDVector.class:com/youbet/ewager/util/T
okenizer.class:com/youbet/ewager/util/TwoArgumentFunction.class:com/youbet/e
wager/util/WrappingException.class:com/youbet/ewager/util/WrappingRuntimeExc
eption.class:com/youbet/ewager/util/WriteWriteException.class:com/youbet/ewa
ger/util/Trace.class:com/youbet/ewager/test/TraceableTestCase.class:com/youb
et/ewager/util/TraceInterface.
   +Task: property
Setting project property: ewager.ejbjar -> ./build/lib/ewagerEjb.jar
   +Task: property
Setting project property: ewager.testjar -> ./build/lib/ewagerUnit.jar
   +Task: property
Setting project property: ewager.testdir -> ./build/lib/
   +Task: property
Setting project property: ewager.testmanifest -> ./src//etc/unit_manifest
   +Task: property
Setting project property: ewager.ear -> ./build/lib/ewager.ear
   +Task: property
Setting project property: ejbjar.contents ->
com/youbet/ewager/util/AspectAdaptor.class:com/youbet/ewager/util/Assert.cla
ss:com/youbet/ewager/util/CheckedApplicationException.class:com/youbet/ewage
r/util/ContractFulfillmentException.class:com/youbet/ewager/util/Copyable.cl
ass:com/youbet/ewager/util/CouldNotAccessException.class:com/youbet/ewager/u
til/CouldNotAddException.class:com/youbet/ewager/util/CouldNotAssignExceptio
n.class:com/youbet/ewager/util/CouldNotCompareException.class:com/youbet/ewa
ger/util/CouldNotConvertException.class:com/youbet/ewager/util/CouldNotCopyE
xception.class:com/youbet/ewager/util/CouldNotFindFactoryException.class:com
/youbet/ewager/util/CouldNotGetSessionException.class:com/youbet/ewager/util
/CouldNotInitializeException.class:com/youbet/ewager/util/CouldNotInstantiat
eException.class:com/youbet/ewager/util/CouldNotRemoveException.class:com/yo
ubet/ewager/util/CouldNotUpdateException.class:com/youbet/ewager/util/Cursor
edEnumeration.class:com/youbet/ewager/util/CursoredEnumerationImpl.class:com
/youbet/ewager/util/Exceptions.class:com/youbet/ewager/util/ExceptionUtils.c
lass:com/youbet/ewager/util/FatalApplicationException.class:com/youbet/ewage
r/util/GeneralizedHashtable.class:com/youbet/ewager/util/JavaFacade.class:co
m/youbet/ewager/util/LoggingExceptionFactory.class:com/youbet/ewager/util/Ob
jectDeletedException.class:com/youbet/ewager/util/OneArgumentFunction.class:
com/youbet/ewager/util/OneArgumentPredicate.class:com/youbet/ewager/util/Ope
rationResult.class:com/youbet/ewager/util/ResponseTime.class:com/youbet/ewag
er/util/SimpleEncryptionService.class:com/youbet/ewager/util/SimpleIntVector
.class:com/youbet/ewager/util/SimpleOIDVector.class:com/youbet/ewager/util/T
okenizer.class:com/youbet/ewager/util/TwoArgumentFunction.class:com/youbet/e
wager/util/WrappingException.class:com/youbet/ewager/util/WrappingRuntimeExc
eption.class:com/youbet/ewager/util/WriteWriteException.class:com/youbet/ewa
ger/util/Trace.class:com/youbet/ewager/test/TraceableTestCase.class:com/youb
et/ewager/util/TraceInterf
   +Task: property
 [property] Override ignored for ewager.ear
   +Task: property
Setting project property: ear.contents -> ./build/lib/ewagerEjb.jar
 +Target: tryme
   +Task: echo
 +Target: compile_classes
   +Task: mkdir
   +Task: javac
 +Target: ejbjar
   +Task: java
 +Target: ear
   +Task: java
   +Task: java
 +Target: unitjar
   +Task: mkdir
   +Task: jar
 +Target: core
 +Target: all
 +Target: clean
   +Task: deltree
Build sequence for target `compile_classes' is [compile_classes]
Complete build sequence is [compile_classes, ear, tryme, unitjar, ejbjar,
core, all, clean]

BUILD SUCCESSFUL

Total time: 0 seconds





-----Original Message-----
From: Peter Donald [mailto:donaldp@mad.scientist.com]
Sent: Wednesday, August 16, 2000 6:04 AM
To: ant-user@jakarta.apache.org
Subject: RE: Ant dependency evaluation (NT platform): class files are
always out of date?


At 01:07  15/8/00 -0700, you wrote:
>Wow, thanks. 
>
>I have attached the build.xml, the script that drives it (build.sh), a
>script I use
>to force a complete rebuild (rebuild.sh), and a log of the output
>(build.log).
>
>I'm sure its something stupid I've done

not stupid - just something that ant likes you to do differently :P.

What I would do is make a new directory src and then point your source to
that. Currently you point to the com subdirectory in source directory. ie
change it to look like

<javac 
   srcdir="src/" 
   destdir="${ewager.classbindir}" 
   classpath="${ewager.classpath}" 
   excludes="**/*.scc,**/*.sh,**/*.org" 
   includes="com/**.java" 
   debug="on" 
   deprecation="on" /> 


The reason is that Ant scans the source directory to check dependancies.
How ever you point the sourcedirectory to com. So when it parses one of
your files 
say com/youbet/ewager/util/ExceptionUtils.java
it will read the package as "com.youbet.ewager.util". 
then it will look for a file named ExceptionUtils.java in correct directory.

as you set sourcedirectory as ./com it will look for
./com/com/youbet/ewager/util/ExceptionUtils.java

which doesn't exists - so it will think it has to rebuil;d it again.

Hope that helps :P


Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message