If you are using eclipse, then placing the HTML file next to the .java
file will automatically do that for you.
Maven will not automatically copy it, so you may want to add the
following things to the build section of your pom.xml
<build>
<sourceDirectory>src/java</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
Wicket's project.xml of maven 1 should also contain this stuff
Martijn
On 3/2/06, Rob Dickens <[EMAIL PROTECTED]> wrote:
> Dear list,
>
> I've just discovered that each Bla.java's corr'ding Bla.html file
> must be in my_project/src/main/webapp/WEB-INF/classes/.../ in order
> for it to be copied into the war file.
>
> So my question is, should I have maven COPY the .html file into the
> above directory (from my_project/src/main/java/...) when creating the
> war file, or start out with it there in the first place? If the
> former, how is this done?
>
> Many thanks in advance,
>
> Rob
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Living a wicket life...
Martijn Dashorst - http://www.jroller.com/page/dashorst
Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user