Ok thank you very much. I'll study that carefully.
Just a little precision : where do you put your web application source
files ? Because I personally have a src/webapp directory to store
that. It contains configuration files for my framework and a few XML
and other web stuff (JSP and so on).
On 4/15/05, Tim Dysinger <[EMAIL PROTECTED]> wrote:
> Sure. Here is my project.xml file, my project.properties file and my
> maven xml file {attached.}
>
> My project structure is as follows:
>
> project.properties
> project.xml
> maven.xml
> src/
> java/ {my custom java source code}
> test/ {junit/cactus test java source files}
> mda/ {my MagicDraw XMI file is in here}
> sql/ {some dummy-data sql scripts are here}
> target/
> java/ {andromda generated java files}
> classes/{compiled classes}
> webapp/ {generated web application}
>
> There are some other folders but that the basics. The war file gets
> dropped into target too. Run maven -o eclipse to generate your eclipse
> project and classpath files and then open the project in eclipse.
>
> -Tim
>
> On Fri, 2005-04-15 at 14:45 -0500, Sebastien Arbogast wrote:
> > On 4/15/05, Tim Dysinger <[EMAIL PROTECTED]> wrote:
> > > MDA is not a simple subject. Learning new tools is never easy either.
> > > Having said that, I don't consider AndroMDA the equivalent to DNA
> > > manipulation research or even rocket science for that matter. It's just
> > > not that hard. What you are finding difficult, is the Maven setup. The
> > > AndroMDA part is dirt simple. You can run AndroMDA with Ant if you find
> > > it easier.
> >
> > Yeah maybe you're right about maven, but this is one of my constraints
> > : I prefer working with Maven instead of ant...
> >
> > > My application is setup as a Maven/AndroMDA WAR-only project. It took
> > > me a couple of hours to set this up from scratch. One maven.xml, one
> > > project.xml and a project.properties file - nice and simple.
> >
> > Would it be possible for you to show me those configuration files.
> > Maybe it would be less difficult than starting from andromdapp demo
> > application.
> >
> > > I think you have to setup a datasource with the way AndroMDA generates
> > > the hibernate code. DataSources are the standard setup for J2EE and you
> > > can set one up in Tomcat using the administration UI in about 30
> > > seconds.
> >
> > Another constraint : I can't do that because my HSQL-DB server is run
> > inside my web application to make its deployment simpler. I don't want
> > users to be forced to setup any database of datasource. I managed to
> > do this thanks to Cocoon and Avalon, and the only thing I have to do
> > with AndroMDA is preventing it from overwriting those parameter
> > through Hibernate configuration file.
> >
> > > It's a work in process and a FREE one a that.
> >
> > "FREE one a that" ? That is ? Is it going to be available soon ?
> >
>
>
>
--
Sebastien ARBOGAST
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user