Hello !
I'm trying to precompile JSPs for WebLogic. I have a working ant
script to do that. I tried to include it in my maven process, but
without success sofar. I cant get to run this script at the right
moment.
My script needs the exploded war to be ready. So I tried to set the
phase of the ant script like to "package". But the ant script gets
called before the files are in place. Especially, the WEB-INF/web.xml
file isnt there yet.
Any idea ?
Thanks for your help !
And here is the ant included in my pom.xml
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<mkdir dir="${jsp.generated.src.dir}" />
<mkdir dir="${jsp.classes.dir}" />
<java classname="weblogic.jspc" fork="yes"
maxmemory="512m">
<classpath refid="maven.compile.classpath"/>
<sysproperty
key="weblogic.jsp.windows.caseSensitive" value="true" />
<arg
line="-forceGeneration -depend
-keepgenerated -compileAll -webapp ${jsp.src.dir} -d
${jsp.generated.src.dir}" />
</java>
<move todir="${jsp.classes.dir}/jsp_servlet">
<fileset dir="${jsp.generated.src.dir}/jsp_servlet">
<include name="**/*.class" />
</fileset>
</move>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
--
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email