You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vikas Phonsa <VP...@suz.com> on 2003/11/05 18:36:28 UTC

Eclipse plugin

Hi everybody,

I'm using eclipse based wsad IDE and after a discussion in this list was
trying to use genapp and the eclipse plugins to start my projects. But I'm
having some issues. Here's what's going on:

1. If uI se genapp out side the IDE to generate a project folder and then
use eclipse goal still out side the IDE, the .project and .classpath files
are generated in my project folder but my IDE doesn't recognize that project
as a java project and I can't find any way how I can get that in my IDE.


2.To take care of the above situation, I tried making a new simple project
(not a java project) in my IDE and then make a project.xml file inside the
project folder and select that project in the IDE and run the eclipse goal
from inside the IDE. Again .project and .classpath files are generated and
now IDE takes it as a java project also. But the .classpath files doesn't
has entries for all the dependencies that I specify in the project.xml.

The .classpath is updated with all the dependency jars from project.xml only
when I run eclipse goal outside the IDE.

Do I have to modify the arguments that IDE is supplying to the eclipse
plugin now configured as an external tool ?

I don't want to keep shifting back and forth from inside the IDE to outside.


So I would appreciate if someone can guide about the strategy to start
projects to be used with eclipse IDE with eclipse version 2.0

Paul had some strategy for this but its somehow not working at my end. Maybe
I'm doing something wrong.


Thanks

Vikas




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


Re: Eclipse plugin

Posted by Jeffrey Bonevich <je...@bonevich.com>.
Vikas Phonsa wrote:
> Hi everybody,
> 
> I'm using eclipse based wsad IDE and after a discussion in this list was
> trying to use genapp and the eclipse plugins to start my projects. But I'm
> having some issues. Here's what's going on:
> 
> 1. If uI se genapp out side the IDE to generate a project folder and then
> use eclipse goal still out side the IDE, the .project and .classpath files
> are generated in my project folder but my IDE doesn't recognize that project
> as a java project and I can't find any way how I can get that in my IDE.

Eclipse will not automatically pick up the new project directory in your 
workspace; has to show up in the .metadata directory somewhere.  You 
still need to go through the motion of creating a new project in Eclipse 
with the same name.  Once that is done, the .project and .classpath 
files will be picked up and you should be good to go.

> 
> 
> 2.To take care of the above situation, I tried making a new simple project
> (not a java project) in my IDE and then make a project.xml file inside the
> project folder and select that project in the IDE and run the eclipse goal
> from inside the IDE. Again .project and .classpath files are generated and
> now IDE takes it as a java project also. But the .classpath files doesn't
> has entries for all the dependencies that I specify in the project.xml.
> 
> The .classpath is updated with all the dependency jars from project.xml only
> when I run eclipse goal outside the IDE.
> 
> Do I have to modify the arguments that IDE is supplying to the eclipse
> plugin now configured as an external tool ?
> 
> I don't want to keep shifting back and forth from inside the IDE to outside.
> 
> 
> So I would appreciate if someone can guide about the strategy to start
> projects to be used with eclipse IDE with eclipse version 2.0
> 
> Paul had some strategy for this but its somehow not working at my end. Maybe
> I'm doing something wrong.
> 
> 
> Thanks
> 
> Vikas
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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