Trent,

I have just had to import again via;

File > Import > File system

to point to my source code location. I can now see the source tree with
Eclipse and can navigate to the java files. Is this the correct way of
making a source directory available to eclipse?

Thankx
Victor.






On 4/2/07, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:

I am guessing that you are viewing the project through the java
perspective and that you have used the lestest version of the eclipse
maven plugin.  Would you be able to post the directory structure of
you basic project.

I am under the impression that you have used the quickstart archetype
a shown in the document from the maven homepage?  If not the are you
using the archetype that generates webapps?

Trent


On 02/04/07, Victor Katte <[EMAIL PROTECTED]> wrote:
> Hi Trent,
>
> Thankx for the info. Its has advanced my understanding of the various
> resources.
>
> I have successfully imported the project and it appears to have been
built
> by Eclipse successfully. However, I am not able to view the java source
code
> tree. I can see the project OK. I thought importing the  project would
give
> access to the source tree under this project. Correct?
>
> Thankx
> Victor
>
>
>
> On 4/2/07, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> >
> > Hi Victor,
> >
> > I set my workspace to an arbitary location of the filesystem.  I then
> > use the import an existing project menu action to make eclipse aware
> > of the new maven project,  Eclipse will then understand the project
> > because you executed the eclipse plugin with the myapp directory.
> >
> > This can be completed through following actions
> >
> > 1.  file >> import >> select the General folder icon >>  Existing
> > Projects intoWorkspace
> > 2.  Set the 'select root directory' valeu to the myapp folder
> > 3.  Make sure the project is ticked.
> > 4.  click finish.
> >
> > Any eclispe subversion plugins should also operate on the project and
> > you con commit chnage back into the SVN repo.
> >
> > Hope this helps
> >
> > Trent
> >
> >
> > On 02/04/07, Victor Katte <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I am new to these tools and am to understand how they can be
configured
> > to
> > > work together. Basically, I have these tools installed and they are
> > working
> > > fine independently, but need to link them up if possible.
> > >
> > > My Maven repository is located at C:\Documents and
> > > Settings\Victor\.m2\repository. I have set the environment variable
> > M2_REPO
> > > to point to this location within Eclipse.
> > >
> > > I have checked out the source code into a directory called myapp on
C
> > drive
> > > (C:\myapp) using Subversion. And have run the following command in
the
> > myapp
> > > directory;
> > >
> > > mvn eclipse:eclipse -DdownloadSource=true
> > >
> > > When I launch Eclipse, it asks me to specify a workspace. Thus my
> > question;
> > > Is the eclipse workspace;
> > >
> > > 1) the location of the Maven repository, C:\Documents and
> > > Settings\Victor\.m2\repository ?
> > > 2) the location containing the source code, C:\myapp ?
> > > 3) any arbitary location on the filesystem?
> > >
> > >
> > > Thnkx
> > > Victor
> > >
> >
> > ---------------------------------------------------------------------
> > 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]


Reply via email to