4 Replies Latest reply on Jan 22, 2004 5:53 PM by jae

    Build Systems, editors, project management, etc.

    David Anderson Newbie

       

      "superdave591" wrote:
      "superdave591" wrote:
      What does everyone use to manage their nukes projects? I have a number of modules created to work with a custom database to do reporting and charts from our poprietary performance database. I am getting to the point where I would like to start to use eclipse rather than gvim on the server, and I am going to have to start bringing other programmers on board once the boss likes the demo.


      So, are people working with coding nukes in eclipse, how do you go about importing the tree into nukes? I havent had much luck with importing the nukes tree into eclipse well, but I am a C programmer turned java and I dont know eclipse very well either.

      Im just curious to see how everyone is working with the tools that are available to make my life easier.

      David


        • 1. Re: Build Systems, editors, project management, etc.
          jae Master

           

          "jae77" wrote:
          "jae77" wrote:
          i'm using eclipse w/o any issues. the biggest PITA is having to import all the jar dependencies for a project.

          one of my complaints about eclipse (and i don't have many) is that it requires you to have libraries on the classpath that your project may not reference directly, but jars that your project depend upon do.

          as for importing the tree, just use the import wizard. do a build of nukes first, and then try to import the root directory of the project - eclipse should find all the src dir and generated classes dir w/o any issues.

          if you have issues, let me know and i'll try to help out. currently i have the "common" and "nukes" modules imported into eclipse, so i could send you my .classpath files. since i have defined all of the "home" directories (ie: JBOSS_HOME, NUKES_HOME) as classpath vars, you should just have to create those entries in eclipse and be good to go.

          oh, one other thing, if you are going to bring other developers into the mix, use CVS. eclipse has support for most of the cvs functions you would need, and you can default to command-line or a gui client (wincvs) for the rest (move tags, etc).


          • 2. Re: Build Systems, editors, project management, etc.
            David Anderson Newbie

             

            "superdave591" wrote:
            "superdave591" wrote:
            jae77,

            I imported into eclipse, and I think im into problems with classpaths.

            Are you able to build/deploy from eclipse? Also I have thousands of errors complaining about packages, imports and other things after the import when it goes and tries to compile the project.

            Can you post your .classpath file so I can take a look at it and see what it looks like compared to mine.


            • 3. Re: Build Systems, editors, project management, etc.
              jae Master

               

              "jae77" wrote:
              "jae77" wrote:
              i don't do builds/deployments thru eclipse. i prefer to just have a cygwin shell open and use that, but there's no reason you can't run the build script from inside eclipse.

              my only recommendation if you do that is to have it run in a seperate vm instance (altho this may only be a feature in 3.0 - i'm using M6).

              here's my .classpath file for the main nukes component.

              if you create a classpath variable called JBOSS_HOME and one called JBOSS_NUKES, you should be able to cut and paste this directly into your own classpath file.

              <pre>
              <?xml version="1.0" encoding="UTF-8"?>
              <classpath>
              <classpathentry kind="src" path="output/gen/classes"/>
              <classpathentry kind="src" path="src/main"/>
              <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
              <classpathentry kind="var" path="JBOSS_HOME/client/jbossall-client.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/server/nukes/lib/javax.servlet.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/lib/jboss-jmx.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/lib/jboss-system.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/common/output/lib/nukes-common-lib.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/dom4j-dom4j/lib/dom4j.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/server/nukes/lib/log4j.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/jregex-jregex/lib/jregex.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-beanutils.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-collections.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-discovery.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-fileupload-1.0-beta-1.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-httpclient.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-lang-1.0.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-logging.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-logging-api.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-commons/lib/commons-pool.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/apache-lucene/lib/lucene.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/informa-rss/lib/informa.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/thirdparty/sourceforge-dnsjava/lib/dnsjava-1.4.3.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/server/nukes/lib/mail.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/server/nukes/deploy/jbossweb-tomcat41.sar/jasper-runtime.jar"/>
              <classpathentry kind="var" path="JBOSS_HOME/server/nukes/deploy/jbossweb-tomcat41.sar/jasper-compiler.jar"/>
              <classpathentry kind="var" path="JBOSS_NUKES/rss/lib/jdom.jar"/>
              <classpathentry kind="output" path="output/classes"/>
              </classpath>
              </pre>

              let me know if you have further issues.


              • 4. Re: Build Systems, editors, project management, etc.
                jae Master

                 

                "jae77" wrote:
                "jae77" wrote:
                heh - guess i can't cut and paste xml. send me an email (jgangemi@yahoo.com) and i'll mail it to you.

                you could also view the page source and get at it that way as well. :)