S
Sahil Dave
Hi All
i am trying to create a simple web application. The project's
build.xml looks like this:
<project name="DemoApp" default="all">
<property environment="env" />
<property name="build.dir" location="build" />
<property name="root.dir" location="." />
<property name="src.dir" value="src" />
<property name="web.dir" value="WebContent/WEB-INF" />
<target name="all" depends="compile"/>
<target name="compile">
<mkdir dir="${web.dir}/classes"/>
<javac fork="yes" executable="${env.JAVA5_HOME}/bin/javac.exe"
destdir="${web.dir}/classes">
<src>
<pathelement path="${src.dir}" />
</src>
</javac>
</target>
</project>
When i try to run the ant build, compilation fails, reporting that
javax.servlet package not found.
I have checked in the project build path, on the 'libraries' tab, the
api.jar for J2EE is present.
I am using the weblogic9.2 app server, and the api.jar is the one that
comes along with it.
Any pointers or suggestions
i am trying to create a simple web application. The project's
build.xml looks like this:
<project name="DemoApp" default="all">
<property environment="env" />
<property name="build.dir" location="build" />
<property name="root.dir" location="." />
<property name="src.dir" value="src" />
<property name="web.dir" value="WebContent/WEB-INF" />
<target name="all" depends="compile"/>
<target name="compile">
<mkdir dir="${web.dir}/classes"/>
<javac fork="yes" executable="${env.JAVA5_HOME}/bin/javac.exe"
destdir="${web.dir}/classes">
<src>
<pathelement path="${src.dir}" />
</src>
</javac>
</target>
</project>
When i try to run the ant build, compilation fails, reporting that
javax.servlet package not found.
I have checked in the project build path, on the 'libraries' tab, the
api.jar for J2EE is present.
I am using the weblogic9.2 app server, and the api.jar is the one that
comes along with it.
Any pointers or suggestions