Re: JSPC/Jasper2 with no package name - bug???

2004-07-30 Thread dhay

Do people agree this is a bug??

should I submit a bug report?

cheers,

David



|-+
| |   [EMAIL PROTECTED] |
| ||
| |   07/29/2004 05:57 |
| |   PM   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
|
  |
|
  |   To:   Tomcat Users List [EMAIL PROTECTED]
   |
  |   cc:  
|
  |   Subject:  JSPC/Jasper2 with no package name - bug??? 
|
  
|





Hi,

I precompile my JSP's.  I have the source files under a directory structure
as follows:

src
jsp
user
admin


I am trying to use the JspC with Ant as described at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.
However, I want the package name to be the sub-directory ie user, admin
etc. for the respective files.

I tried leaving off package= at first, but this created them all with a
package of org.apache.jsp.user/admin etc..

I then tried just putting package=, but now I get an error with the
package name becoming .user, .admin, which is obviously invalid.

How do I achieve what I need?  Is this a bug?  Can anyone point me in the
right direction where the package statement is generated when the java
files are created?

Many thanks,

David





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSPC/Jasper2 with no package name - bug???

2004-07-30 Thread Dennis Dai
I don't know what you want to achieve, but my jspc task generates 
package names with subdirectories (eg. org.apache.jsp.user and 
org.apache.jsp.admin, in org/apache/jsp/user and org/apache/jsp/admin 
respectively) ...

Also I don't know where you set that package= thing?
On 7/30/2004 1:38 PM, [EMAIL PROTECTED] wrote:
Do people agree this is a bug??
should I submit a bug report?
cheers,
David

|-+
| |   [EMAIL PROTECTED] |
| ||
| |   07/29/2004 05:57 |
| |   PM   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
|
  |
|
  |   To:   Tomcat Users List [EMAIL PROTECTED]
   |
  |   cc:  
|
  |   Subject:  JSPC/Jasper2 with no package name - bug??? 
|
  
|


Hi,
I precompile my JSP's.  I have the source files under a directory structure
as follows:
src
jsp
user
admin

I am trying to use the JspC with Ant as described at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.
However, I want the package name to be the sub-directory ie user, admin
etc. for the respective files.
I tried leaving off package= at first, but this created them all with a
package of org.apache.jsp.user/admin etc..
I then tried just putting package=, but now I get an error with the
package name becoming .user, .admin, which is obviously invalid.
How do I achieve what I need?  Is this a bug?  Can anyone point me in the
right direction where the package statement is generated when the java
files are created?
Many thanks,
David

--
Dennis Dai
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSPC/Jasper2 with no package name - bug???

2004-07-30 Thread dhay

Yes, it will generate the package names if you leave it off (you add
package= to the jspc task, like you do uriroot=${src}\jsp).

I'm trying to get it to give me the **subdirectories** as the full package
name - ie user.myjsp.jsp etc..

cheers,

David



|-+
| |   Dennis Dai   |
| |   [EMAIL PROTECTED]|
| |   |
| ||
| |   07/30/2004 05:01 |
| |   PM   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
|
  |
|
  |   To:   Tomcat Users List [EMAIL PROTECTED]  
   |
  |   cc:  
|
  |   Subject:  Re: JSPC/Jasper2 with no package name - bug??? 
|
  
|




I don't know what you want to achieve, but my jspc task generates
package names with subdirectories (eg. org.apache.jsp.user and
org.apache.jsp.admin, in org/apache/jsp/user and org/apache/jsp/admin
respectively) ...

Also I don't know where you set that package= thing?

On 7/30/2004 1:38 PM, [EMAIL PROTECTED] wrote:

 Do people agree this is a bug??

 should I submit a bug report?

 cheers,

 David



 |-+
 | |   [EMAIL PROTECTED] |
 | ||
 | |   07/29/2004 05:57 |
 | |   PM   |
 | |   Please respond to|
 | |   Tomcat Users|
 | |   List|
 | ||
 |-+

|

   |
|
   |   To:   Tomcat Users List [EMAIL PROTECTED]
|
   |   cc:
|
   |   Subject:  JSPC/Jasper2 with no package name - bug???
|

|






 Hi,

 I precompile my JSP's.  I have the source files under a directory
structure
 as follows:

 src
 jsp
 user
 admin
 

 I am trying to use the JspC with Ant as described at
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.
 However, I want the package name to be the sub-directory ie user, admin
 etc. for the respective files.

 I tried leaving off package= at first, but this created them all with a
 package of org.apache.jsp.user/admin etc..

 I then tried just putting package=, but now I get an error with the
 package name becoming .user, .admin, which is obviously invalid.

 How do I achieve what I need?  Is this a bug?  Can anyone point me in the
 right direction where the package statement is generated when the java
 files are created?

 Many thanks,

 David



--
Dennis Dai
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JSPC/Jasper2 with no package name - bug???

2004-07-29 Thread dhay

Hi,

I precompile my JSP's.  I have the source files under a directory structure
as follows:

src
jsp
user
admin


I am trying to use the JspC with Ant as described at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.
However, I want the package name to be the sub-directory ie user, admin
etc. for the respective files.

I tried leaving off package= at first, but this created them all with a
package of org.apache.jsp.user/admin etc..

I then tried just putting package=, but now I get an error with the
package name becoming .user, .admin, which is obviously invalid.

How do I achieve what I need?  Is this a bug?  Can anyone point me in the
right direction where the package statement is generated when the java
files are created?

Many thanks,

David





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]