ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <>
Subject RE: JSPC task and package names
Date Thu, 08 May 2003 21:19:21 GMT
hello mike.

Funny you should say that,because I think I am having the opposite problem.
First I think you need to define define the 

in your <jspc/> task.

But my problem is that I actually want the java files to be placed in the
the same directory as the original jsp file for now. But it is placing them
in the Base dir of the ant project. In addition it 
is not creating the subdirectory names based off of the package attribute I
supplied to my task. I guess it is because of the fact that I defined

But what do I define it to have the files placed where I want them and the
subdirectories based off of that package name?

Here is what my task looks like:
  <include name="**/*.jsp" />
      <pathelement path="${env.CLASSPATH}"/>
      <path refid="classpath"/>


Can You show my what your jspc tasks looks like?

-----Original Message-----
From: Mike Medwith []
Sent: Thursday, May 08, 2003 3:05 PM
Subject: JSPC task and package names

All my jsps end up with a package name of org.apache.jsp and when these 
files are compiled they are placed under those directories instead of the 
subdirectories where the original jsp and java file curretnly live... is 
there any way to keep the package name the same as the sub dirs that the 
jsps are found in?


Add photos to your messages with MSN 8. Get 2 months FREE*.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message