On Fri, Feb 27, 2009 at 9:45 AM, Mark Struberg <strub...@yahoo.de> wrote:
> 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 Hi thanks for your point of view, the fact is that the lab session is only few hours long, so I can't afford introducing Maven or asking users to install it inside Eclipse (you always have someone encountering errors, etc..). Otherwise, surely I would have done it! Regards, Alessio Pace. > > > --- Alessio Pace <alessio.p...@gmail.com> schrieb am Fr, 27.2.2009: > > > Von: Alessio Pace <alessio.p...@gmail.com> > > Betreff: Re: "Un-mavenize" a Maven2 project ? > > An: "Maven Users List" <users@maven.apache.org> > > Datum: Freitag, 27. Februar 2009, 8:43 > > On Fri, Feb 27, 2009 at 8:36 AM, Ketan Khairnar > > <ketan.khair...@gmail.com>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 > > <alessio.p...@gmail.com > > > >wrote: > > > > > > > On Fri, Feb 27, 2009 at 8:24 AM, Ketan Khairnar > > < > > > ketan.khair...@gmail.com > > > > >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 <alessio.p...@gmail.com > > > > > >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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >