John, did you understand how to do it?
In the Sculptor CRUD GUI we do it like Roland suggests and you can generate
that web archetype to see how the pom should look like. See 
http://fornax-platform.org/cp/x/AwU Archetype Tutorial 

/Patrik


rolandukor wrote:
> 
> Hi,
> 
> I suggest you separate your webapp project from the generated backend
> project. If your doing a war, setup the webapp the way you'd normally do
> and if you use maven or eclipse, simply reference the backend project in
> the webproject and configure spring your web.xml to load the context from
> the beanContextRef in the (backend project's) classpath. 
> 
> Regards,
> Roland
> 
> 
> jskillings wrote:
>> 
>> Hi all,
>> 
>> By adding 
>> 
>>      <outletSrcOnceDir>src/main/java/net</outletSrcOnceDir>
>> 
>> to the fornax-oaw-m2-plugin in the pom.xml,  the compilation of Java
>> files went well.  The target classes are now created under the target
>> directory.
>> 
>> I am still looking for help on the webapp directory.  Currently my
>> property is as follows:
>> 
>> <outletResOnceDir>src/main/webapp</outletResOnceDir>
>> 
>> 
>> Best regards,
>> 
>> John
>> 
>> 
>> jskillings wrote:
>>> 
>>> Hi all,
>>> 
>>> I am continuing to explore Sculptor 1.2 features.  As part of my test, I
>>> am trying to integrate Facelets GUI code with the backend generated by
>>> Sculptor.
>>> 
>>> Here is what I have done so far:
>>> 
>>> 1) Added several new java files under:    src/main/java  .   Created a
>>> separate directory for my files as
>>> src/main/java/net/skillings/view/controller/  and added several files.
>>> 
>>> 2) Created a new directory called src/main/webapp and put my Facelets
>>> XHMTL files and related resources.
>>> 
>>> Now when I run   "mvn clean install"  nothing happens.
>>> 
>>> Can any one help me how to make Maven pickup the files I added?  Where
>>> should I make the changes for Maven's build settings?
>>> 
>>> Thanks.
>>> 
>>> John
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Sculptor-1.2%3A---Maven-ignoring-custom-java-files-tp14609068s17564p14654591.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to