Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I use seperate folders for my java and html wicket source files, but my ant build process then copies the html to the classes folder of my web app so i avoid issues of having to setup wicket resource settings. </p> <p>My basic build.properties has</p> <pre><code> web.root = ${project.home}/web web.java.dir = ${web.root}/java web.html.dir = ${web.root}/html war.root = ${project.home}/war web.inf.dir = ${war.root}/WEB-INF war.lib.dir = ${web.inf.dir}/lib war.classes.dir = ${web.inf.dir}/classes wicket.version = 1.3.5 wicket.jar = ${war.lib.dir}/wicket-${wicket.version}.jar wicket-extend.jar = ${war.lib.dir}/wicket-extensions-${wicket.version}.jar wicket-spring.jar = ${war.lib.dir}/wicket-spring-${wicket.version}.jar </code></pre> <p>and the compile / assemble ant targets look like</p> <pre><code>&lt;target name="compile-web"&gt; &lt;path id="wicket.build.classpath"&gt; &lt;filelist&gt; &lt;file name="${wicket.jar}"/&gt; &lt;file name="${wicket-extend.jar}"/&gt; &lt;file name="${wicket-spring.jar}"/&gt; &lt;file name="${externaljars.path}/spring/2.5.6/spring.jar"/&gt; &lt;/filelist&gt; &lt;/path&gt; &lt;javac destdir="${war.classes.dir}" classpathref="wicket.build.classpath" debug="on" srcdir="${web.java.dir}"&gt; &lt;include name="**/*.java"/&gt; &lt;/javac&gt; &lt;/target&gt; &lt;target name="assemble-war" depends="compile-web"&gt; &lt;copy todir="${war.classes.dir}" overwrite="true"&gt; &lt;fileset dir="${web.html.dir}"/&gt; &lt;/copy&gt; &lt;delete file="${dist.dir}/validationservice.war"/&gt; &lt;war destfile="${dist.dir}/validationservice.war" webxml="${web.inf.dir}/web.xml" basedir="${war.dir}"&gt; &lt;/war&gt; &lt;/target&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload