Re: How to use mvn eclipse:eclipse

2007-10-04 Thread LukeLallu

I copied the .project and changed the name and the project tag details. Rest
removed.

And from the all sub modules, I removed the .project and .classpath files.

In the main module .classpath is it required.

Then I imported it as existing workspace in Eclipse 3.3.

Now I could select pom.xml and run the build right and the EAR will be
created right.


Dave Feltenberger wrote:
> 
> Yes, unfortunately the Eclipse plugin isn't smart enough to put a
> blank .project and .classpath file in the pom project(s).
>  Copy the .project from one of the sub-modules, change the project
> name, and remove all the project references.  Then do the same with
> the .classpath, removing the classpath entries from it.
> 
> On 10/4/07, LukeLallu <[EMAIL PROTECTED]> wrote:
>>
>>
>> I created a EAR Project using the following cammand
>>
>> mvn -U archetype:create -DgroupId=com.mycompany.app
>> -DartifactId=my-ear-app
>> -Dpackagename=com.mycompany.app
>> -DarchetypeArtifactId=maven-archetype-j2ee-simple
>>
>> Then I ran mvn eclipse:eclipse
>>
>> I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
>> files are created within my sub - modules inside my-ear-app and not in
>> my-ear-app folder, so how to see the whole of EAR in WSAD with all the
>> modules.
>>
>> Regards
>>
>> Luke
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13053629
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use mvn eclipse:eclipse

2007-10-04 Thread Dave Feltenberger
Yes, unfortunately the Eclipse plugin isn't smart enough to put a
blank .project and .classpath file in the pom project(s).
 Copy the .project from one of the sub-modules, change the project
name, and remove all the project references.  Then do the same with
the .classpath, removing the classpath entries from it.

On 10/4/07, LukeLallu <[EMAIL PROTECTED]> wrote:
>
>
> I created a EAR Project using the following cammand
>
> mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app
> -Dpackagename=com.mycompany.app
> -DarchetypeArtifactId=maven-archetype-j2ee-simple
>
> Then I ran mvn eclipse:eclipse
>
> I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
> files are created within my sub - modules inside my-ear-app and not in
> my-ear-app folder, so how to see the whole of EAR in WSAD with all the
> modules.
>
> Regards
>
> Luke
> --
> View this message in context: 
> http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to use mvn eclipse:eclipse

2007-10-04 Thread LukeLallu


I created a EAR Project using the following cammand

mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app
-Dpackagename=com.mycompany.app
-DarchetypeArtifactId=maven-archetype-j2ee-simple

Then I ran mvn eclipse:eclipse

I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project
files are created within my sub - modules inside my-ear-app and not in
my-ear-app folder, so how to see the whole of EAR in WSAD with all the
modules.

Regards

Luke
-- 
View this message in context: 
http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]