Allessandro, 

just my opinion (as a former student and as someone who holds lessons from time 
to time):

Since maven nowadays is really a standard tool in the java world which almost 
_everyone_ uses, it would be a good point to introduce it to your students.
Also other ways fumbling around with eclipse config are much more time 
consuming than downloading maven.zip.

LieGrue,
strub

--- Alessio Pace <[email protected]> schrieb am Fr, 27.2.2009:

> Von: Alessio Pace <[email protected]>
> Betreff: Re: "Un-mavenize" a Maven2 project ?
> An: "Maven Users List" <[email protected]>
> Datum: Freitag, 27. Februar 2009, 8:43
> On Fri, Feb 27, 2009 at 8:36 AM, Ketan Khairnar
> <[email protected]>wrote:
> 
> > simple solution would be to include classpath-entry 
> in .classpath eclipse
> > file
> >
> > e.g.
> >
> > *<classpathentry
> combineaccessrules="false" kind="src"
> > path="/DependencyProject"/>*
> 
> 
> 
> I don't know if we are talking about the exact use case
> I was referring to.
> I would like to have re-create a project source tree with a
> directory of
> libraries (the jars) my current project depend on, and have
> these jars
> inside this source tree (not just in my $M2 repository).
> 
> I know I can do maven eclipse:eclipse and then copy the
> files listed in the
> .classpath into my source tree, but I was wondering only if
> there was a more
> custom solution for this.
> 
> Thank you anyway.
> 
> Regards,
> Alessio Pace.
> 
> 
> >
> >
> >
> > On Fri, Feb 27, 2009 at 1:03 PM, Alessio Pace
> <[email protected]
> > >wrote:
> >
> > > On Fri, Feb 27, 2009 at 8:24 AM, Ketan Khairnar
> <
> > [email protected]
> > > >wrote:
> > >
> > > > write a ant script to move maven project to
> new directory with standard
> > > > eclipse project format.
> > > >
> > > > Once you open a project in eclipse
> class-path entries can be added.
> > > >
> > > > this is partial automation though
> > >
> > >
> > >
> > > Hi,
> > >
> > > thanks for your answer. I was wondering, but what
> about dependency
> > > resolution?
> > >
> > > Regards,
> > > Alessio Pace.
> > >
> > >
> > >
> > > >
> > > >
> > > > On Fri, Feb 27, 2009 at 12:49 PM, Alessio
> Pace <[email protected]
> > > > >wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > a project I'm working on is built
> by Maven2. It is a single module,
> > it
> > > > uses
> > > > > M2 merely for dependency managament.
> > > > >
> > > > > I have to let some students play with
> it as part of a lab project.
> > > Their
> > > > > machines just have plain Eclipse, and
> the users are Maven-unaware,
> > and
> > > I
> > > > > can't afford to make them
> pre-install Maven or install it during the
> > > lab
> > > > > session (too few hours).
> > > > >
> > > > > What I wanted to do is to
> "un-mavenize" the project, creating a
> > > separate
> > > > > source tree in the old fashion: without
> the pom.xml but with a libs
> > > > > directory filled with all the jars my
> project depends on. Possibly
> > also
> > > > > with
> > > > > the Eclipse .project and .classpath
> files already configured (ok ok,
> > > this
> > > > > is
> > > > > optional).
> > > > >
> > > > > Thanks in advance for any suggestion on
> how to achieve that, or with
> > > > > comments if you ever had to deal with
> such a situation (and possibly
> > if
> > > > you
> > > > > want me to discourage to go with the
> un-mavenize process)
> > > > >
> > > > > Regards,
> > > > > Alessio Pace.
> > > > >
> > > >
> > >
> >




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to