Hi Ivar,

I hope you didn't try the "shooting your head" option yet :-)
I found something interesting for the Eclipse WTP problem.
Look in the main pom.xml, you should find an <execution/> tag, which contains a 
<configuration/> with <target>1.5</target>. You just have to replace 1.5 with 
1.4, and then do a "mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.0" (or 1.5 
it's the same).
Then, import all your projects in Eclipse, add a new Tomcat 5.0 server with JDK 
1.4 (because in JDK 5.0 there is a problem with the XML parser because Tomcat 
has one embeded which conflict with the JDK bundled one).
Then, you can add magnolia to the server ! Et voilĂ  !
Ah, just one last thing : if you want to compile the project with maven in 
order to get the .war file, do the command "mvn clean install 
-Dmaven.test.skip=true" ...

Cheers,
   Anthony

On Fri, 6 Apr 2007 23:07:32 +0200, "Master Magnolia" <[email protected]> 
wrote:
> Hi people!
> 
> Thank you for your quick answer and some good points, but this is the
> problem.
> I have tried all stuff I could find. Even mvn eclipse:eclipse doesn't
> really work.
> 
> Files that are generated are .project and .classpath including
> org.eclipse.jdt.core.prefs file in .settings folder which you can find
> attached in m***project1.zip. Compiled Magnolia subprojects can be
> found as jars which is not ok IMHO and project is not recognized as
> DWP, therefore unnranable. .project file does not contain subproject
> info at all which can be found in the other try. It is not important
> which versions of mgnl I use for generating JARS cos I have
> successfully generated all versions (trunk, branch and tagged).
> 
> In the other one you can see that project files are different and
> recognizable by the eclipse WTP as DWP, but works only with referenced
> JARs generated by the mvn into M2_REPO folder like the first try
> (**1.zip) but also some additional files in .settings folder. Take a
> look specially in org.eclipse.wst.common.component where you can see
> all the dependecies including sources from subprojects. Even if you
> try to change "deploy-path="/WEB-INF/lib"
> handle="module:/resource/magnolia-subprojects*" into WEB-INF/classes
> no desirable results. :-(
> 
> I have played around with it but with no luck. In the older versions
> of WTP <1.5 file is called .component with the same function.
> 
> (According to my opinion it's quite messy don't you think?)
> These files obviously should be manually checked and updated.
> 
> Still no luck with it.
> 
> Happy holidays and finally I have someone to talk about it...
> 
> Ivar
> 
> p.s. I can upload these files if someone interested.
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/developer.html
> ----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to