You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Akins, Greg" <Gr...@am.sony.com> on 2005/11/03 22:02:29 UTC

Maven genapp struts & context.xml

Using maven 1.0.2 deploying to Tomcat 5.5.x

and creating struts app with maven genapp struts

I can't seem to figure out where to put the context.xml so it get's placed
in the correct spot during deploy.

I'd normally create webapp/META-INF and put context.xml there... But it
seems like xdoclet would want to handle this rather than just letting the
file structure of the app do it.

Any thoughts?

Greg Akins
STP Systems
724.696.7322
Greg.akins@am.sony.com 


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


How to autogenerate POM dependencies based on Eclipse Dependencies?

Posted by Siegfried Heintze <si...@heintze.com>.
Is there a way to synchronize the jar dependencies in Eclipse with the
dependencies in the POM? I think this was a feature of the MevanIDE but I
could not figure out how to make that feature work and it does not support
M2 anyway.

Is there a M2 pluggin to do this?

Assuming such a plugging does not exist: how would I write a maven pluggin
to read the eclipse dependencies and update the POM accordingly? My guess is
that there is some XML file that eclipse uses to store the dependencies that
I could read. Anyone know what it is called? Someone else in a previous post
already pointed out how to read the POM dependencies. I hope there is an
easy way to write POM dependencies too....

And, I suppose it would be nice to go the other way too: given a project
that compiles and runs with M2 it would be nice to auto generate the eclipse
dependencies.

I hear a rumor that someone is working on the MevanIDE for M2. I wonder if
they are working on this very feature?

Thanks,
siegfried


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


RE: Maven genapp struts & context.xml

Posted by Arnaud HERITIER <ah...@gmail.com>.
Are you sure that xdoclet can generate the config.xml for tomcat ?
Personnaly i putted it in src/webapp/META-INF

Arnaud


> -----Message d'origine-----
> De : Akins, Greg [mailto:Greg.Akins@am.sony.com] 
> Envoyé : jeudi 3 novembre 2005 22:02
> À : 'users@maven.apache.org'
> Objet : Maven genapp struts & context.xml
> 
> Using maven 1.0.2 deploying to Tomcat 5.5.x
> 
> and creating struts app with maven genapp struts
> 
> I can't seem to figure out where to put the context.xml so it 
> get's placed in the correct spot during deploy.
> 
> I'd normally create webapp/META-INF and put context.xml 
> there... But it seems like xdoclet would want to handle this 
> rather than just letting the file structure of the app do it.
> 
> Any thoughts?
> 
> Greg Akins
> STP Systems
> 724.696.7322
> Greg.akins@am.sony.com 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 




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