10 Replies Latest reply on Dec 24, 2003 11:45 AM by tjansto

    Installshield

    noel.rocher

      Hi,

      I need an advice:

      Isn't it better to have separate setup.xml files, one by database type ( mysql, hsqldb) . It will be simpler and faster to process at the end when all modules' setup files will be merged in one by database type instead of one with all statements.

      Any idea ?

        • 1. Re: Installshield

          yes one file per database as we have now. it is still possible to merge them with an ANT task.

          julien

          • 2. Re: Installshield
            noel.rocher

            promise a first version for this we.


            (Julien, I 'm not able to change my awful signature)

            • 3. Re: Installshield

              the link is :

              [url]http://www.jboss.org/index.html?module=youraccount&op=main[url]

              "noel.rocher" wrote:
              promise a first version for this we.
              (Julien, I 'm not able to change my awful signature)


              • 4. Re: Installshield
                noel.rocher

                Sorry Julien but save changes doesn't update my signature

                • 5. Re: Installshield
                  noel.rocher

                  Hi all

                  I've committed the new distrib module.

                  To try it just "build" and "build deploy-installer". Then hit "http://127.0.0.1:8080/nukes-installer/install"


                  - You can select an already deployed DS or setup a new one that I will deploy automatically.

                  - You can select modules/actions/statements you want the installer to execute

                  - You can setup Admin account



                  It's a test version that use the sample setup.xml in the WEB-INF directory (mysql/hsqldb).
                  I will produce all setup.xml from each module asap and then change the build process to use them. Feel free to make the setup.xml files by yourself.

                  I need your remarks to improve it. The Look isn't very beautiful and I'm not the best guy for this kind of job, but suggest me things, I will try to do my best.

                  Next, I want to deploy nukes.war and modules automatically.

                  Tx
                  ---------------------
                  Nuky Noel

                  • 6. Re: Installshield

                    cool but beware you have add some directories in the CVS :

                    nukes/distrib/output
                    nukes/distrib/output/lib
                    etc...

                    are now part of the CVS and they should never be commited.

                    I had to comment the build.xml to temporary remove the build because I am working on the release and I need the old system. I will not have the time to look at it this week because I am away and I have hardly the time to work on the release :-)


                    I've committed the new distrib module.


                    I will look at it asap, I have to work on the mysql version and so it could be part of it.


                    To try it just "build" and "build deploy-installer". Then hit "http://127.0.0.1:8080/nukes-installer/install"


                    genial


                    - You can select an already deployed DS or setup a new one that I will deploy automatically.

                    - You can select modules/actions/statements you want the installer to execute

                    - You can setup Admin account

                    It's a test version that use the sample setup.xml in the WEB-INF directory (mysql/hsqldb).
                    I will produce all setup.xml from each module asap and then change the build process to use them. Feel free to make the setup.xml files by yourself.



                    You should try to use the CSS from the new theme I commited, it's clean : nukes/nukes/src/bin/org/jboss/nukes/core/modules/themes/imagic/style/style.css


                    I need your remarks to improve it. The Look isn't very beautiful and I'm not the best guy for this kind of job, but suggest me things, I will try to do my best.

                    Next, I want to deploy nukes.war and modules automatically.



                    • 7. Re: Installshield
                      noel.rocher

                       

                      "cooper" wrote:
                      cool but beware you have add some directories in the CVS :

                      nukes/distrib/output
                      nukes/distrib/output/lib
                      etc...

                      are now part of the CVS and they should never be commited.



                      Oooops ! Yes, sorry, I was too happy.

                      -----------------
                      If you prefer, I can wait a little before continuing to disturbe your work ?


                      • 8. Re: Installshield

                        noel,
                        i made a change locally to my build.xml file (i did not update the cvs tree with it). i did this because a build.sh deploy-installer generated the following error:

                        20:47:27,006 INFO [Engine] StandardWrapper[/nukes-installer:NukesInstallWizardServlet]: Marking servlet NukesInstallWizardServlet as unavailable
                        20:47:27,069 ERROR [Engine] StandardContext[/nukes-installer]: Servlet /nukes-installer threw load() exception
                        javax.servlet.ServletException: Wrapper cannot find servlet class org.jboss.nukes.distrib.installer.InstallServlet or a class it depends on


                        this is a 'cvs diff' i now have on the build.xml file to allow for undeploying the war and also to compile the java files:

                        Index: nukes/distrib/build.xml
                        ===================================================================
                        RCS file: /cvsroot/jboss/nukes/distrib/build.xml,v
                        retrieving revision 1.9
                        diff -r1.9 build.xml
                        105a106
                        > _default:compile-classes,
                        369c370
                        <
                        ---
                        >

                        once i did this, i get the following compile errors:

                        _default:compile-classes:
                        [mkdir] Created dir: /home/tjansto/workspace/nukesAlpha/nukes/distrib/output/classes
                        [mkdir] Created dir: /home/tjansto/workspace/nukesAlpha/nukes/distrib/output/gen/classes
                        [depend] Deleted 0 out of date files in 0 seconds
                        [javac] Compiling 18 source files to /home/tjansto/workspace/nukesAlpha/nukes/distrib/output/classes
                        [javac] /home/tjansto/workspace/nukesAlpha/nukes/distrib/src/main/org/jboss/nukes/distrib/installer/WizardContext.java:13: cannot resolve symbol
                        [javac] symbol : class DatabaseInfo
                        [javac] location: package installer
                        [javac] import org.jboss.nukes.distrib.installer.DatabaseInfo;
                        [javac] ^
                        [javac] /home/tjansto/workspace/nukesAlpha/nukes/distrib/src/main/org/jboss/nukes/distrib/installer/InstallServlet.java:12: cannot resolve symbol
                        [javac] symbol : class DatabaseInfo
                        [javac] location: package installer
                        [javac] import org.jboss.nukes.distrib.installer.DatabaseInfo;
                        [javac] ^
                        [javac] 2 errors

                        BUILD FAILED
                        file:/home/tjansto/workspace/nukesAlpha/nukes/distrib/../tools/etc/buildfragments/targets.ent:59: Compile failed; see the compiler error output for details.

                        i can't locate the DatabaseInfo in any part of the cvs tree. could you update the cvs to provide for it please, or let me know what i did wrong?

                        thanks,
                        tom

                        • 9. Re: Installshield
                          noel.rocher

                          Hi tjansto,

                          Sorry to answer so late.

                          Julien has changed the build file to create the distrib. Thus, the installer isn't properlly build. I can't work on it during the Xmas holidays.

                          Don't waste your time on the installer for now, I will modify it in the begining of 2004.

                          Sorry for the time you lost with it.

                          Keep an eye on it in january, things will change and you 'll be happy.

                          Merry Xmas & Happy new year !

                          • 10. Re: Installshield

                            no problem,
                            i was just checking to be sure i didn't miss something. it's not a time waste, as i'm learning about the layout and internals of nukes, which has been extremely helpful. i'm starting to get to the point where i may actually be usefull in contributing, without needing someone to go back and retro everything i did.

                            merry Christmas, and enjoy your time off...