If I run dist, or any of it's dependant targets, all is well. But I cannot run the junit or compiletest targets. How are the tests typically run?
Code:
D:\workspace-hibtools3\HibernateExt>D:\apache-ant-1.6.5-bin\apache-ant-1.6.5\bin\ant -debug -lib D:\workspace-hibto
ols3\Hibernate3\lib\ junit
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: D:\Sun\AppServer\jdk\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.5 compiled on June 2 2005
Setting ro project property: ant.file -> D:\workspace-hibtools3\HibernateExt\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile D:\workspace-hibtools3\HibernateExt\build.xml with URI = file:///D:/workspace-hibtools3/Hibernate
Ext/build.xml
Setting ro project property: ant.project.name -> HibernateExt
Adding reference: HibernateExt
Setting ro project property: ant.file.HibernateExt -> D:\workspace-hibtools3\HibernateExt\build.xml
Project base dir set to: D:\workspace-hibtools3\HibernateExt
+Target:
+Target: dist
+Target: clean
[property] Loading D:\workspace-hibtools3\HibernateExt\build.properties
[property] Unable to find property file: D:\workspace-hibtools3\HibernateExt\build.properties
[property] Loading C:\Documents and Settings\Administrator\.ant.properties
[property] Unable to find property file: C:\Documents and Settings\Administrator\.ant.properties
Setting project property: Name -> Hibernate Extensions
Setting project property: name -> hibernate-extensions
Setting project property: version -> 3.0
Importing file common/common-build.xml from D:\workspace-hibtools3\HibernateExt\build.xml
parsing buildfile D:\workspace-hibtools3\HibernateExt\common\common-build.xml with URI = file:///D:/workspace-hibto
ols3/HibernateExt/common/common-build.xml
Setting ro project property: ant.file.common-build -> D:\workspace-hibtools3\HibernateExt\common\common-build.xml
Adding reference: lib.class.path
Adding reference: support.files
Adding reference: source.files
Adding reference: junit.batchtestset
Adding reference: testsrc.path
Adding reference: junit.classpath
+Target: with.clover
+Target: cloverreport.html
+Target: cloverreport
Already defined in main or a previous import, define clean as common-build.clean
+Target: common-build.clean
+Target: init
+Target: compile
+Target: compiletest
+Target: instrument
+Target: copytest
+Target: copysource
+Target: copylib
+Target: copydoc
+Target: jar
+Target: javadoc
+Target: extras
Already defined in main or a previous import, define dist as common-build.dist
+Target: common-build.dist
+Target: info
+Target: junit
+Target: junitinstrument
+Target: junitreport
+Target: run
+Target: checkstyle
+Target: patch
Setting project property: common-build.basedir -> D:\workspace-hibtools3\HibernateExt\common
[property] Loading D:\workspace-hibtools3\HibernateExt\common\build.properties
[property] Unable to find property file: D:\workspace-hibtools3\HibernateExt\common\build.properties
[property] Loading C:\Documents and Settings\Administrator\.ant.properties
[property] Unable to find property file: C:\Documents and Settings\Administrator\.ant.properties
Setting project property: src.dir -> D:\workspace-hibtools3\HibernateExt\src\java
Setting project property: test.dir -> D:\workspace-hibtools3\HibernateExt\src\test
Setting project property: lib.dir -> D:\workspace-hibtools3\HibernateExt\lib
Setting project property: build.dir -> D:\workspace-hibtools3\HibernateExt\build
Setting project property: classes.dir -> D:\workspace-hibtools3\HibernateExt\build\classes
Setting project property: dist.target.dir -> D:\workspace-hibtools3\HibernateExt\target
Setting project property: dist.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions
Setting project property: instrumenttest.out.dir -> instrumenttestout
Setting project property: doc.dir -> D:\workspace-hibtools3\HibernateExt\doc
Setting project property: doc.api.dir -> D:\workspace-hibtools3\HibernateExt\doc\api
Setting project property: doc.reference.dir -> D:\workspace-hibtools3\HibernateExt\doc\reference
Setting project property: dist.doc.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions\doc
Setting project property: dist.api.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions\doc\api
Setting project property: dist.src.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions\src
Setting project property: dist.test.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions\test
Setting project property: dist.lib.dir -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions\lib
Setting project property: jar.name -> hibernate-extensions
Setting project property: jar.file.name -> D:\workspace-hibtools3\HibernateExt\target\hibernate-extensions/hibernat
e-extensions.jar
Setting project property: javadoc -> http://java.sun.com/j2se/1.4/docs/api
Setting project property: javac.debug -> on
Setting project property: javac.optimize -> off
Setting project property: hibernate-core.home -> D:\workspace-hibtools3\hibernate-3.1
Setting project property: hibernate-core.jar -> D:\workspace-hibtools3\hibernate-3.1\hibernate3.jar
Setting project property: hibernate-core.lib.dir -> D:\workspace-hibtools3\hibernate-3.1\lib
Setting project property: hibernate-core.jdbc.dir -> D:\workspace-hibtools3\hibernate-3.1\lib
Setting project property: hibernate-core.doc.api -> D:\workspace-hibtools3\hibernate-3.1\doc\api
Setting project property: hibernate-cvs.doc.reference -> D:\workspace-hibtools3\Hibernate3\doc\reference
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
fileset: Setup scanner in dir D:\workspace-hibtools3\hibernate-3.1\lib with patternSet{ includes: [junit-*.jar, ant
-junit-*.jar] excludes: [] }
Class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent loader (parentFirst)
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
fileset: Setup scanner in dir D:\workspace-hibtools3\hibernate-3.1\lib with patternSet{ includes: [junit-*.jar, ant
-junit-*.jar] excludes: [] }
Class org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator loaded from parent loader (parentFirst)
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Property ${clover.jar} has not been set
Adding reference: lib.class.path
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Adding reference: support.files
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend
Adding reference: source.files
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: junit.batchtestset
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: testsrc.path
Setting project property: clover.out.dir -> cloverout
Setting project property: clover.jar -> D:\apache-ant-1.6.5-bin\apache-ant-1.6.5\bin\../lib/clover.jar
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: junit.classpath
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `junit' is [init, compile, compiletest, junit]
Complete build sequence is [init, compile, compiletest, junit, copytest, instrument, common-build.clean, copysource
, checkstyle, patch, javadoc, jar, copylib, with.clover, junitreport, cloverreport.html, cloverreport, extras, copy
doc, common-build.dist, run, dist, clean, junitinstrument, info, ]
init:
Setting project property: subversion -> 2006-01-27 02:55:17
Setting project property: DSTAMP -> 20060127
Setting project property: TSTAMP -> 1455
Setting project property: TODAY -> January 27 2006
[echo] Build Hibernate Extensions-3.0 (2006-01-27 02:55:17)
BUILD FAILED
D:\workspace-hibtools3\HibernateExt\common\common-build.xml:167: D:\workspace-hibtools3\HibernateExt\src\java not f
ound.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:349)
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:404)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Total time: 1 second