#201 Eclipse project template for customizations with easy build

open
nobody
None
5
2010-12-07
2010-12-07
pedro rozo
No

Hi Everyone,

Although I have seen similar efforts for this task, I had issues using the current eclipse project templates using eclipse jar scripts, so I decided to create a new one applying some of the best practices , and allowing to copy the zkcustomization.jar and customization.jar to your adempiere instalation as well.

Instructions.

1. Copy the zip file to your workspace, and import the eclipse project (custom_Smart_Adempiere361)
2. Update the project references of the new eclipse project, so it depends of your current adempiere project (usually from trunk)
3. Configure your eclipse project location (workspace) and adempiere trunk local installation folder using the buildCustomization.properties file provided.
4. To customized existent java code (swing, compiere, adempiere) just copy your files from the adempiere trunk in the src folder, be careful keeping the file names and packge structure
5. To customized existent java code for web (zk) just copy your files from the adempiere trunk in the srcZK folder, be careful keeping the file names and package structure
6. To customized existent html, css and other source code for ZK (not java) just copy your files from the adempiere trunk in the zkwebui folder, be careful keeping the file names and folders
7. Modify your files as you want
8. take a backup of you current lib/customization.jar and lib/zkcustomization.jar files
9. run the buildCustomization.xml (ant script) as ant build , this script will compile everything, creates the customization.jar and zkcustomization.jar, and it will copy them to the lib folder of your local adempiere.
10. if you want to see the changes, please run your : RUN_setup or RUN_Silentsetup scripts (unix or windows), and restart the server so it can see the changes.

Enjoy it

Pedro Rozo
www.smartjsp.com

Discussion

  • pedro rozo

    pedro rozo - 2010-12-07

    eclipse project template for customizations

     
    • Villarreal

      Villarreal - 2015-10-27

      Hi Pedro,
      As running the project?

       
      • pedro rozo

        pedro rozo - 2015-10-28

        sure. ..We still use this contribution (eclipse templates) within our adempiere projects ...to generate and maintain extension & customizations ... and but is has been a long time since our fisrt version so I do not knwo i f perhaps new members have developer other alternatives as well.

        Regards.

        Pedro R

         
        • Villarreal

          Villarreal - 2015-10-28

          Thanks Pedro.
          Regards
          Yamil

           
  • Mario Calderon

    Mario Calderon - 2010-12-07

    Hi Pedro,
    welcome to Adempiere and thank you for your contribution.
    I will have a look ASAP.

    Best regards,
    Mario Calderon

     
  • Redhuan D. Oon

    Redhuan D. Oon - 2010-12-07

    It will be good if you can also RUN_setup from an Eclipse extension. These are nice ideas from Pedro. (this also makes me ponder into whether OSGI can use plugin to do similar thing.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks