- This topic has 19 replies, 8 voices, and was last updated 16 years, 10 months ago by
Ton Huisman.
-
AuthorPosts
-
September 24, 2008 at 4:14 pm #289342
davenorrisMemberNipun,
I understand that I will have to run “something” for a command line tool to be able to build this from the command line (sort of circular reasoning). However, is that command tool inside the MyEclipse embedded Mavin or do I have to install a Maven instance outside of MyEclipse? In other Maven work there is a “mvn” script that invokes everything I need. However, I did not find that script under the MyEclipse install.
Given the command line tool referenced in the question above, it seems that you are implying that, from the command line, I can build MyEclipse Web and Application projects, correct?
I am a Maven rookie but want to make sure I understand the direction I am supposed to go.
-Dave
September 25, 2008 at 5:07 pm #289400
support-peteMemberDave, if you wish to use Maven from the command line you will need to install that separately. What MyEclipse offers runs only from within MyEclipse.
The Maven command line program is all downloadable and documented from maven.apache.org.
We are happy to help in any way we can, yet MyEclipse neither supports nor offers this command line program as it is completely outside our product.
Hope this helps !
September 26, 2008 at 8:52 am #289416
davenorrisMemberThat answers the first part of my question, I have to install a Maven instance. The second part of my question is if that can call a Maven-Enabled Web Project and build it from the command line?
Our development team uses MyEclipse, however I want to set up a nightly build on an automated schedule. I was hoping that if this can be run from the command line, then it would just be a cron job to kick this off. If this is not possible, can I request that be made possible in a future release? How can we setup an automated build of our many MyEclipse projects?
September 26, 2008 at 11:48 am #289433
Riyad KallaMemberDave,
Maven4MyEclipse uses the .m2 directory under your home dir for the local repository, where it downloads it’s resources to. If the JSF download failed before, it’s possible that the mirror was down… see if it resolves the dependencies later and successfully downloads them. You can wait and do a Maven Package on your project and see if it does it for you.
September 26, 2008 at 1:35 pm #289441
Ton HuismanMemberAutomated Java application builds are nicely setup using Continuum, it pulls sources from cvs/svn or another repository, builds using Maven2, deploys to an AppServer and packages onto an FTP location, and generates a set of webpages with build results. Continuum is best run on a Linux host, and doesn’t need a GUI desktop, just a webbrowser for management and resultview.
HTH
Ton -
AuthorPosts