2 Replies Latest reply on May 8, 2006 4:09 AM by kukeltje

    changing the websale application(very urgent!!!!!!!!)

    nirmalonline

      hai


      Is there any way to modify the java files of the existing websale application like taskbean,homebean etc? If so how to do it.I could change the jsp pages but i could not change the class files.I have tried all the possible methods. I tried to rebuild the application after changes by running the build.deploy.xml as a ant build but that did not help. i even tried deploying this application on various web servers but that did not help either.I also tried opening this jbpm.3 project in netbeans ide and tried deploying it from there but that too did not help me.

      Basically i want to change the class files of the websale application and my changes should get reflected when i run the application.

      Jbpm experts please help me it is very urgent.

      thanks in advance

      nirmal.

        • 1. Re: changing the websale application(very urgent!!!!!!!!)
          hosierdm

          You might try exploding the war (if it isn't already), then unjar the WEB-INF/lib/jbpm-webapp-3.1.jar file and place the classes in the WEB-INF/classes directory and remove the jar file (or change its name by giving it a .bak extension). This will give you direct access to the class files used by the webapp. Then you can make your changes to the Beans in your editor of choice and copy the resulting class files into the WEB-INF/classes directory (in the correct package directory too of course) overwriting the ones that you unjarred. This might be the easiest and most transparent way for you to make sure that your updated class files are getting used by the server. Then if you get everything working the way you want it, you can worry about rebuilding the application later.

          • 2. Re: changing the websale application(very urgent!!!!!!!!)
            kukeltje

            or download the sourcecode and use the ant tasks for building the webapp