Paul,

Yeah paul I have kinda figured out the things. But tell me a thing, are the
programmers working with you happy with having to do all this work,
particularly running genapp outside the IDE.  I want to propose using Maven
to other programmers in my company who have been working solely with the IDE
so far.

And I like to explore new technology. 

But have you experienced some real benefits of using Maven along with your
IDE.

And thanks a lot for all your help.

Vikas

-----Original Message-----
From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 24, 2003 5:17 PM
To: Maven Users List
Subject: RE: How to start projects with Maven

You should run "maven genapp" first (outside of your IDE), then cd into the
directory genapp created (the one with your project.xml file) and run "maven
eclipse" (still outside of your IDE).  Then you can run your IDE against the
project.  I imagine that you'll need to run "maven eclipse" each time you
add new dependencies to your project.xml so that it will continue to update
your classpath correctly (and download your new dependencies).

You can get genapp to run without prompting you for parameters, but you'll
need to specify all of the options on the command line (see the mail
archives for how to do this).  

Once you have exhaused the eclipse plugin documentation, the next best thing
to do is to dive in to the plugin code itself.  The plugins are written in
jelly (http://jakarta.apache.org/commons/jelly) and are minature
"maven-ized" projects all by themselves.  If you're not sure how a
particular goal works, the jelly code holds the key! :-)

Happy hunting...

- Paul

> -----Original Message-----
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 24, 2003 6:33 PM
> To: 'Maven Users List'
> Subject: RE: How to start projects with Maven
> 
> Paul,
> I have read the documentation. But there are somethings that 
> I fully figure out.
> 
>  I have been able to configure maven as an external tool in 
> Eclipse. I want to use the genapp plugin to generate a new 
> project. It seems that eclipse won't allow me to do that by 
> just going to the external tools menu and selecting the goal. 
> It hangs there like ant <input> task and it needs the some 
> inputs which the IDE doesn't seem to ask for.
> 
> Are u able to generate new projects from within the IDE using 
> genapp ? How ?
> How do u specify the name of the project from within the IDE?
> 
> How do u specify where to create the .project and .classpath 
> file to run the eclipse goal. I made a simple folder in the 
> workspace and ran the eclipse goal after selecting it and the 
> .project and .classpath files are generated in it but its not 
> being recognized as a Java project by the IDE.
> 
> Thanks
> 
> Vikas
> 
> 
> 
> 
> -----Original Message-----
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2003 2:29 PM
> To: 'Maven Users List'
> Subject: RE: How to start projects with Maven
> 
> Yeah Paul,
> 
> You are the man !! It works.
> 
> Thanks
> 
> Vikas
> 
> -----Original Message-----
> From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 24, 2003 2:28 PM
> To: Maven Users List
> Subject: RE: How to start projects with Maven
> 
> Try using forward slashes (/) instead of backslashes (\) in 
> your directory names (even on Windows).  Ours are several 
> levels deep and work fine.
> 
> - Paul 
> 
> > -----Original Message-----
> > From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 24, 2003 5:17 PM
> > To: 'Maven Users List'
> > Subject: RE: How to start projects with Maven
> > 
> > Ok Paul, I'm reading thru all that. But take a look at this. 
> > I used this build.properties file to run the eclipse:external-tools 
> > goal.
> > 
> > maven.eclipse.workspace=C:\wsad_workspaces\JakartaTesting
> > maven.eclipse.junit=3.7.0
> > maven.eclipse.output.dir=C:\wsad_workspaces\JakartaTesting\New
> > Maven\classes
> > maven.eclipse.test.output.dir=C:\wsad_workspaces\JakartaTestin
> > g\NewMaven\tes
> > t
> > 
> > The goal runs successfully but it creates the following file
> > 
> > C:/wsad_wordspacesJakartaTesting/metadata/.plugins/org.eclipse
> > .ui.externalto
> > ols/externaltools.xml
> > 
> > 
> > 
> > But I specified my mave.eclipse.workspace = 
> > C:\wsad_workspaces\JakartaTesting
> > 
> > Any idea what's going on. Will it not accept another level of 
> > directory.
> > 
> > Vikas
> > 
> > -----Original Message-----
> > From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 24, 2003 2:14 PM
> > To: Maven Users List
> > Subject: RE: How to start projects with Maven
> > 
> > Take some time and read through the user's guide
> > (http://maven.apache.org/reference/user-guide.html)  It 
> will help give 
> > you a conceptual understanding of how things work (the section on 
> > "Properties Processing" answers your questions about setting 
> > properties).  There is also a section in the user's guide 
> on "Starting 
> > a New Project".
> > 
> > Once you understand the concepts it is easier to "fill in 
> the blanks" 
> > and use maven in your own project.
> > 
> > - Paul
> > 
> > > -----Original Message-----
> > > From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, October 24, 2003 4:48 PM
> > > To: 'Maven Users List'
> > > Subject: RE: How to start projects with Maven
> > > 
> > > Hi Paul,
> > > 
> > > Your email shows direction. But I very new to Maven and
> > just finished
> > > my first tutorial. Could you guide how should I proceed with this 
> > > eclipse plug in. I couldn't find any instructions abt that on the 
> > > website.
> > > 
> > > The genapp and eclipses plugin webpages list some properties. 
> > > Where do I set these properties. In build.properties file ?? 
> > > Then what.
> > > 
> > > I'm so lost ? I would appreciate some help on how to proceed.
> > > 
> > > Thanks
> > > 
> > > Vikas
> > > 
> > > -----Original Message-----
> > > From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, October 24, 2003 1:24 PM
> > > To: Maven Users List
> > > Subject: RE: How to start projects with Maven
> > > 
> > > Look at the genapp plugin
> > > http://maven.apache.org/reference/plugins/genapp/
> > > 
> > > As for IDE integration, look at the eclipse plugin 
> > > http://maven.apache.org/reference/plugins/eclipse/
> > > (although it took some additional effort for us to get 
> this to work 
> > > with
> > > WSAD...)
> > > 
> > > HTH,
> > > Paul
> > > 
> > > > -----Original Message-----
> > > > From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, October 24, 2003 2:45 PM
> > > > To: 'Maven Users List'
> > > > Subject: How to start projects with Maven
> > > > 
> > > > Hi Guys,
> > > > 
> > > > I want to know how should the project development be
> > > started in order
> > > > to use Maven. In the tutorials and articles, maven is
> > used to build
> > > > and jar up stuff after the classes have been written. They
> > > wrote the
> > > > project.xml after they had written the classes.
> > > > 
> > > >  I want to use Maven my WDSC IDE so that Maven acts as an
> > > application
> > > > assembly tool which would get all the dependency jars on itself.
> > > > In this IDE you see a red mark if some required jar/class
> > > is not found
> > > > and then you go and update the build path. There is a file
> > > that stores
> > > > the paths of all the required jars and I intend to update
> > that file
> > > > with Maven so that those red marks are eliminated in the IDE.
> > > > 
> > > > 
> > > > So how should I start the projects. Should creating a
> > > project.xml be
> > > > the first step in starting a new project so that I can
> > run maven to
> > > > get all the dependencies for the classes before I 
> actually create 
> > > > those classes?
> > > > 
> > > > I don't know if I make any sense but I would appreciate any
> > > ideas or
> > > > any general guidelines regarding starting new project.
> > > > 
> > > > Thanks
> > > > 
> > > > Vikas
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > 
> > > 
> > > 
> > >  This message (including any attachments) contains confidential 
> > > information intended for a specific individual and 
> purpose, and is 
> > > protected by law.  If you are not the intended recipient,
> > you should
> > > delete this message and are hereby notified that any disclosure, 
> > > copying, or distribution of this message, or the taking of
> > any action
> > > based on it, is strictly prohibited.
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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]
> > > 
> > 
> > 
> >  This message (including any attachments) contains confidential 
> > information intended for a specific individual and purpose, and is 
> > protected by law.  If you are not the intended recipient, 
> you should 
> > delete this message and are hereby notified that any disclosure, 
> > copying, or distribution of this message, or the taking of 
> any action 
> > based on it, is strictly prohibited.
> > 
> > 
> ---------------------------------------------------------------------
> > 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]
> > 
> 
> ---------------------------------------------------------------------
> 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]
> 
> ---------------------------------------------------------------------
> 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]

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

Reply via email to