NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Copy html files to class directory in maven web project

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Zahari



Joined: 16 Sep 2010
Posts: 2

PostPosted: Thu Sep 16, 2010 10:14 am    Post subject: Copy html files to class directory in maven web project Reply with quote

Hi,

I've created a maven web project. In this project I used wicket framework. By convention each Wicket page consists of both a markup file and a Java file. Their names must be the same, except for the extension. For example name the files Index.html and Index.java, both files must exist in the same directory on the classpath. How could I configure my project to copy the HTML files to the generated class’s directory ?
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 605
Location: Simpsonville, SC

PostPosted: Sat Sep 18, 2010 2:48 pm    Post subject: Re: Copy html files to class directory in maven web project Reply with quote

Are you using the Wicket plugin? I see that one exists, but I personally don't use Wicket.

Sent from my iPhone

On Sep 16, 2010, at 5:14, "Zahari" <address-removed> wrote:

Quote:
Hi,

I've created a maven web project. In this project I used wicket framework. By convention each Wicket page consists of both a markup file and a Java file. Their names must be the same, except for the extension. For example name the files Index.html and Index.java, both files must exist in the same directory on the classpath. How could I configure my project to copy the HTML files to the generated class’s directory ?



Back to top
Zahari



Joined: 16 Sep 2010
Posts: 2

PostPosted: Sat Sep 18, 2010 7:56 pm    Post subject: Reply with quote

Hi I fix it it was maven configuration file issue. I don't use wicket plugin.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo