M2eclipse on RAD 7.5

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

M2eclipse on RAD 7.5

by Visser, Hugo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm testing the dev version of m2eclipse on RAD 7.5 and I'm seeing two
issues.
When I check out a project as multi module project using "check out as
maven project" my web projects (contained in an ear) are set up
incorrectly. The org.eclipse.wst.common.component file contains:

<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
project-version="1.5.0">
    <wb-module deploy-name="MyProjectWeb">
        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/java"/>
        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
        <property name="context-root" value="MyProjectWeb"/>
        <property name="java-output-path"
value="/src/main/webapp/WEB-INF/classes"/>
    </wb-module>
</project-modules>

The first deploy-path entry is incorrect and is giving me "source path
is nested" errors in RAD. I can fix this by doing a "update project
configuration", which will give me an error about installing Dynamic web
module 2.4, but will update the file to:

<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
project-version="1.5.0">
    <wb-module deploy-name="MyProjectWeb">
        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/java"/>
        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
        <property name="context-root" value="MyProjectWeb"/>
        <property name="java-output-path"
value="/src/main/webapp/WEB-INF/classes"/>
    </wb-module>
</project-modules>

The second issue is that for a dependent module the java facet
(jst.java) is incorrectly configured. It is set to version 6.0 while the
compiler settings in the pom are set to 1.4. I can fix this by deleting
the entire .settings folder which will then be recreated containing the
correct settings.

Is it possible to force the jst.java version as a work around? I guess I
could fix the settings files once and check those into svn but I'd
rather not.

Other than that m2eclipse is working quite alright on RAD 7.5, wst
integration is is working great (not counting the above).

Thanks,

Hugo

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: M2eclipse on RAD 7.5

by Fred Bricon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Hugo,

I think you ran into the same problem I saw a couple hours ago, but
didn't have time to investigate yet.
can you please open a JIRA issue with a simple test projects
showcasing these bugs? It seems they're related to the order of
project import .
Can you try checking in projects in the correct dependency order?
- first parent project (will complains for missing modules)
- then utility project if you have any,
- then ejb if you have any
- then web project
- finally ear.

thanks.

Regards,

Fred Bricon

On Wed, Oct 29, 2008 at 2:54 PM, Visser, Hugo <Hugo.Visser@...> wrote:

> Hi,
>
> I'm testing the dev version of m2eclipse on RAD 7.5 and I'm seeing two
> issues.
> When I check out a project as multi module project using "check out as
> maven project" my web projects (contained in an ear) are set up
> incorrectly. The org.eclipse.wst.common.component file contains:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The first deploy-path entry is incorrect and is giving me "source path
> is nested" errors in RAD. I can fix this by doing a "update project
> configuration", which will give me an error about installing Dynamic web
> module 2.4, but will update the file to:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The second issue is that for a dependent module the java facet
> (jst.java) is incorrectly configured. It is set to version 6.0 while the
> compiler settings in the pom are set to 1.4. I can fix this by deleting
> the entire .settings folder which will then be recreated containing the
> correct settings.
>
> Is it possible to force the jst.java version as a work around? I guess I
> could fix the settings files once and check those into svn but I'd
> rather not.
>
> Other than that m2eclipse is working quite alright on RAD 7.5, wst
> integration is is working great (not counting the above).
>
> Thanks,
>
> Hugo
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
GMail rox!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: M2eclipse on RAD 7.5

by Visser, Hugo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fred,

I also suspect it depends on the order of importing. When importing from
disk things seem to work better. I'll try to create a test project to
reproduce it and submit an issue.

Regards,

Hugo

-----Original Message-----
From: Fred Bricon [mailto:fbricon@...]
Sent: woensdag 29 oktober 2008 16:33
To: user@...
Subject: Re: [m2eclipse-user] M2eclipse on RAD 7.5

Hi Hugo,

I think you ran into the same problem I saw a couple hours ago, but
didn't have time to investigate yet.
can you please open a JIRA issue with a simple test projects showcasing
these bugs? It seems they're related to the order of project import .
Can you try checking in projects in the correct dependency order?
- first parent project (will complains for missing modules)
- then utility project if you have any,
- then ejb if you have any
- then web project
- finally ear.

thanks.

Regards,

Fred Bricon

On Wed, Oct 29, 2008 at 2:54 PM, Visser, Hugo
<Hugo.Visser@...> wrote:
> Hi,
>
> I'm testing the dev version of m2eclipse on RAD 7.5 and I'm seeing two

> issues.
> When I check out a project as multi module project using "check out as

> maven project" my web projects (contained in an ear) are set up
> incorrectly. The org.eclipse.wst.common.component file contains:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules
id="moduleCoreId"
> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src"/>

>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The first deploy-path entry is incorrect and is giving me "source path

> is nested" errors in RAD. I can fix this by doing a "update project
> configuration", which will give me an error about installing Dynamic
> web module 2.4, but will update the file to:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules
id="moduleCoreId"

> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The second issue is that for a dependent module the java facet
> (jst.java) is incorrectly configured. It is set to version 6.0 while
> the compiler settings in the pom are set to 1.4. I can fix this by
> deleting the entire .settings folder which will then be recreated
> containing the correct settings.
>
> Is it possible to force the jst.java version as a work around? I guess

> I could fix the settings files once and check those into svn but I'd
> rather not.
>
> Other than that m2eclipse is working quite alright on RAD 7.5, wst
> integration is is working great (not counting the above).
>
> Thanks,
>
> Hugo
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
GMail rox!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: M2eclipse on RAD 7.5

by Visser, Hugo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hm, I tried to reproduce it by creating maven projects and importing
those, but that didn't work, all projects seem to be created OK. So it
will take me some more time before I can file an issue...

Hugo

-----Original Message-----
From: Visser, Hugo [mailto:Hugo.Visser@...]
Sent: woensdag 29 oktober 2008 16:54
To: user@...
Subject: RE: [m2eclipse-user] M2eclipse on RAD 7.5

Hi Fred,

I also suspect it depends on the order of importing. When importing from
disk things seem to work better. I'll try to create a test project to
reproduce it and submit an issue.

Regards,

Hugo

-----Original Message-----
From: Fred Bricon [mailto:fbricon@...]
Sent: woensdag 29 oktober 2008 16:33
To: user@...
Subject: Re: [m2eclipse-user] M2eclipse on RAD 7.5

Hi Hugo,

I think you ran into the same problem I saw a couple hours ago, but
didn't have time to investigate yet.
can you please open a JIRA issue with a simple test projects showcasing
these bugs? It seems they're related to the order of project import .
Can you try checking in projects in the correct dependency order?
- first parent project (will complains for missing modules)
- then utility project if you have any,
- then ejb if you have any
- then web project
- finally ear.

thanks.

Regards,

Fred Bricon

On Wed, Oct 29, 2008 at 2:54 PM, Visser, Hugo
<Hugo.Visser@...> wrote:
> Hi,
>
> I'm testing the dev version of m2eclipse on RAD 7.5 and I'm seeing two

> issues.
> When I check out a project as multi module project using "check out as

> maven project" my web projects (contained in an ear) are set up
> incorrectly. The org.eclipse.wst.common.component file contains:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules
id="moduleCoreId"
> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src"/>

>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The first deploy-path entry is incorrect and is giving me "source path

> is nested" errors in RAD. I can fix this by doing a "update project
> configuration", which will give me an error about installing Dynamic
> web module 2.4, but will update the file to:
>
> <?xml version="1.0" encoding="UTF-8"?><project-modules
id="moduleCoreId"

> project-version="1.5.0">
>    <wb-module deploy-name="MyProjectWeb">
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/java"/>
>        <wb-resource deploy-path="/WEB-INF/classes"
> source-path="/src/main/resources"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
>        <property name="context-root" value="MyProjectWeb"/>
>        <property name="java-output-path"
> value="/src/main/webapp/WEB-INF/classes"/>
>    </wb-module>
> </project-modules>
>
> The second issue is that for a dependent module the java facet
> (jst.java) is incorrectly configured. It is set to version 6.0 while
> the compiler settings in the pom are set to 1.4. I can fix this by
> deleting the entire .settings folder which will then be recreated
> containing the correct settings.
>
> Is it possible to force the jst.java version as a work around? I guess

> I could fix the settings files once and check those into svn but I'd
> rather not.
>
> Other than that m2eclipse is working quite alright on RAD 7.5, wst
> integration is is working great (not counting the above).
>
> Thanks,
>
> Hugo
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
GMail rox!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: M2eclipse on RAD 7.5

by Andreas Weibel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Hugo,
Hi everyone

It's great to hear that you managed to use m2eclipse with RAD 7.5.

Currently, we are trying to use m2eclipse with RAD 7.5. However whenever we try to install it from the http://m2eclipse.sonatype.org/update/ Update Site, we get an error message like this:

> No repository found containing: com.ibm.etools.emf.event/osgi.bundle/3.0.0.v20060918_M

Has anyone seen that message before and found a solution?

We are aware that we certainly cannot use m2eclipse from the Dev Update site, because RAD 7.5 builds upon eclipse 3.4 and not 3.4.1. Could it be that the same applies for version on the regular update site?

Thanks,
Andreas


On Wed, Oct 29, 2008 at 2:54 PM, Visser, Hugo <Hugo.Visser@...> wrote:
Hi,

I'm testing the dev version of m2eclipse on RAD 7.5 and I'm seeing two
issues.
When I check out a project as multi module project using "check out as
maven project" my web projects (contained in an ear) are set up
incorrectly. The org.eclipse.wst.common.component file contains:

<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
project-version="1.5.0">
   <wb-module deploy-name="MyProjectWeb">
       <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
       <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
       <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/java"/>
       <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
       <property name="context-root" value="MyProjectWeb"/>
       <property name="java-output-path"
value="/src/main/webapp/WEB-INF/classes"/>
   </wb-module>
</project-modules>

The first deploy-path entry is incorrect and is giving me "source path
is nested" errors in RAD. I can fix this by doing a "update project
configuration", which will give me an error about installing Dynamic web
module 2.4, but will update the file to:

<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId"
project-version="1.5.0">
   <wb-module deploy-name="MyProjectWeb">
       <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/java"/>
       <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
       <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
       <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
       <property name="context-root" value="MyProjectWeb"/>
       <property name="java-output-path"
value="/src/main/webapp/WEB-INF/classes"/>
   </wb-module>
</project-modules>

The second issue is that for a dependent module the java facet
(jst.java) is incorrectly configured. It is set to version 6.0 while the
compiler settings in the pom are set to 1.4. I can fix this by deleting
the entire .settings folder which will then be recreated containing the
correct settings.

Is it possible to force the jst.java version as a work around? I guess I
could fix the settings files once and check those into svn but I'd
rather not.

Other than that m2eclipse is working quite alright on RAD 7.5, wst
integration is is working great (not counting the above).

Thanks,

Hugo

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



LightInTheBox - Buy quality products at wholesale price!