Hi,
I'm following a fairly standard path of using ant to build my jsp/servlet web app. However, I've run into an issue I can't seem to resolve (and can't locate suitable documentation on, either).
I would like to include a java package in the compile classpath, but I'm not sure where or how to list this in the build.xml file. There seem to be provisions for .jar files, but not .class files contained in packages. I've tried the (stunningly naive, I'm sure) approach of:
but, (not surprisingly), after rebuilding when I go to load my page it errors out with a "package does not exist" error,
so evidently it's not finding it...
my build.xml file works fine otherwise, for "vanilla" builds.
Any help very appreciated,
Thanks -
Dora
I'm following a fairly standard path of using ant to build my jsp/servlet web app. However, I've run into an issue I can't seem to resolve (and can't locate suitable documentation on, either).
I would like to include a java package in the compile classpath, but I'm not sure where or how to list this in the build.xml file. There seem to be provisions for .jar files, but not .class files contained in packages. I've tried the (stunningly naive, I'm sure) approach of:
Code:
<property name="my.source" value="C:\myPackage"/>
...
<pathelement location="$my.source"/>
<fileset dir="$my.source">
<include name="*.class"/>
</fileset>
but, (not surprisingly), after rebuilding when I go to load my page it errors out with a "package does not exist" error,
so evidently it's not finding it...
my build.xml file works fine otherwise, for "vanilla" builds.
Any help very appreciated,
Thanks -
Dora