Re: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread Mathias Nilsson

After plugin in the pom file

resources
  resource
filteringfalse/filtering
 directorysrc/main/resources/directory
   /resource
   resource
filteringfalse/filtering
directorysrc/main/java/directory
includes
  include**/include
/includes
excludes
  exclude**/*.java/exclude
/excludes
  /resource
/resources
-- 
View this message in context: 
http://www.nabble.com/MarkupnotFoundException-in-eclipse-3.4.2-tp25001104p25006663.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread jWeekend

The quick fix is:
  in Project Properties/Java Build Path/Source) set Included: *.* (and
make sure *.html is not Excluded) for the folder your html is in, most
likely src/main/java if you keep your templates next to your Java source
files.

Regards - Cemal 
jWeekend 
OO  Java Technologies, Wicket Training and Development 
http://jWeekend.com


dale77 wrote:
 
 Hello,
 
 The quickstart is proving anything but. I run quickstart:
 
 mvn archetype:create -DarchetypeGroupId=org.apache.wicket
 -DarchetypeArtifactId=wicket-archetype-quickstart
 -DarchetypeVersion=1.4.0 -DgroupId=nz.co.acme -DartifactId=myproject
 
 Then generate and eclipse project:
 
 mvn eclipse:eclipse -DdownloadSources=true
 
 Then I import the project into eclipse, leaving copy into workspace
 unchecked, and Run As Junit test on TestHomePage.java...
 
 Markup of type 'html' for component 'nz.co.acme.HomePage' not found.
 Enable debug messages for org.apache.wicket.util.resource to get a list
 of all filenames tried.: [Page class = nz.co.acme.HomePage, id = 0,
 version = 0] org.apache.wicket.markup.MarkupNotFoundException: Markup of
 type 'html' for component 'nz.co.acme.HomePage' not found.
 
 Eclipse is not copying the .html file alongside the .class. But the Java
 | Compiler | Output Folder | Filtered Resources is only *.launch. How do
 I make eclipse copy the html file next to the class?
 
 No doubt there is a simple explanation, but I'm not seeing it. Can
 anyone help me out?
 
 Thanks
 
 Dale
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/MarkupnotFoundException-in-eclipse-3.4.2-tp25001104p25010844.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread Dale Ogilvie
 
Thanks, that worked. 

I wonder why this isn't automatically set up in the quickstart?

-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com] 
Sent: Tuesday, 18 August 2009 5:25 a.m.
To: users@wicket.apache.org
Subject: Re: MarkupnotFoundException in eclipse 3.4.2


The quick fix is:
  in Project Properties/Java Build Path/Source) set Included: *.* (and
make sure *.html is not Excluded) for the folder your html is in, most
likely src/main/java if you keep your templates next to your Java source
files.

Regards - Cemal
jWeekend
OO  Java Technologies, Wicket Training and Development
http://jWeekend.com


dale77 wrote:
 
 Eclipse is not copying the .html file alongside the .class. But the 
 Java
 | Compiler | Output Folder | Filtered Resources is only *.launch. How 
 | do
 I make eclipse copy the html file next to the class?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org