| Author |
Ant Task to precompile JSP for Weblogic
|
Gareth Western
Ranch Hand
Joined: Apr 07, 2004
Posts: 45
|
|
Hi, I'm trying to create an Ant task to execute the following command: Now, the command works fine when run on its own from a command prompt, but I just can't get Ant to do it! I've tried using both the Java and Exec tasks, as follows: AND When I execute the "precompile" task weblogic.jspc complains like so: When I execute "precompile2" it just says: This is driving me crazy as I can't find anyone else who's had the same problem Am I missing something blatently obvious here?? Note: I added a few extra linebreaks in the code above, in an attempt to make everything a bit more readable on small-res screens. [ November 16, 2004: Message edited by: Gareth Western ]
|
 |
Scott Dunbar
Ranch Hand
Joined: Sep 23, 2004
Posts: 245
|
|
I use the wlappc command as I also sometimes have EJBs. My ant file has: This compiles anything in the build directory that needs it. See the docs for more options.
|
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
|
 |
Gareth Western
Ranch Hand
Joined: Apr 07, 2004
Posts: 45
|
|
Thanks! I'll give that task a shot. Just to answer my own question, I also found that the Ant task in this thread worked a treat.
|
 |
 |
|
|
subject: Ant Task to precompile JSP for Weblogic
|
|
|