facebook

Ant Builds versus MyEclipse Deployments

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #289342

    davenorris
    Member

    Nipun,

    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

    #289400

    support-pete
    Member

    Dave, 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 !

    #289416

    davenorris
    Member

    That 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?

    #289433

    Riyad Kalla
    Member

    Dave,

    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.

    #289441

    Ton Huisman
    Member

    Automated 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

Viewing 5 posts - 16 through 20 (of 20 total)
Reply To: Ant Builds versus MyEclipse Deployments

You must be logged in to post in the forum log in