A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

Creating a project based on an existing project (based on Appfuse)

View: New views
3 Messages — Rating Filter:   Alert me  

Creating a project based on an existing project (based on Appfuse)

by oscar perez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,
I was wondering if could be possible to reuse the pattern used for appfuse. We have created a project based on Appfuse multimodular and now we want it to be our starting point for future applications. So the war and jar would need to be dependencies for the new project (core and web) and the new files added in the new project would override the already existing in the jar / war. I have started a blank project based on appfuse 2.0.1 and now I am making the modifications in order to achieve the aforementioned output. Any hints on how to do it? Is it possible?
Thanks,
Oscar

Re: Creating a project based on an existing project (based on Appfuse)

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The latest archetype plugin should allow you to do "mvn
archetype:create-from-project". I haven't tried it myself, but I
believe it works.

Matt

On Wed, Jul 9, 2008 at 2:17 AM, oscar perez
<oscarfernando.perez@...> wrote:

> Hi there,
> I was wondering if could be possible to reuse the pattern used for appfuse.
> We have created a project based on Appfuse multimodular and now we want it
> to be our starting point for future applications. So the war and jar would
> need to be dependencies for the new project (core and web) and the new files
> added in the new project would override the already existing in the jar /
> war. I have started a blank project based on appfuse 2.0.1 and now I am
> making the modifications in order to achieve the aforementioned output. Any
> hints on how to do it? Is it possible?
> Thanks,
> Oscar
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Creating a project based on an existing project (based on Appfuse)

by oscar perez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thansk Matt!
I knew you will answer me (eventually). You always do :)
At the end I solved it by using your plugin maven-warpath-plugin and maven-war-plugin. This way I only have to copy over the new files and it does separation of the classes from the view as well. I will try create-from-project now and see the differences. Thank you! But guess what? I am worse than you. I promised (like 2 months ago) to integrate jMesa with appfuse and create a diff and tutorial for it. Well, I still intend to do it. I implemented struts 2 and spring integration for jMesa so now jMesa is a bit better than it was yesterday :)
Br,
Oscar

On Fri, Jul 18, 2008 at 12:08 AM, Matt Raible <matt@...> wrote:
The latest archetype plugin should allow you to do "mvn
archetype:create-from-project". I haven't tried it myself, but I
believe it works.

Matt

On Wed, Jul 9, 2008 at 2:17 AM, oscar perez
<oscarfernando.perez@...> wrote:
> Hi there,
> I was wondering if could be possible to reuse the pattern used for appfuse.
> We have created a project based on Appfuse multimodular and now we want it
> to be our starting point for future applications. So the war and jar would
> need to be dependencies for the new project (core and web) and the new files
> added in the new project would override the already existing in the jar /
> war. I have started a blank project based on appfuse 2.0.1 and now I am
> making the modifications in order to achieve the aforementioned output. Any
> hints on how to do it? Is it possible?
> Thanks,
> Oscar
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


LightInTheBox - Buy quality products at wholesale price