Cimande:Create Cimande SDK Bundle
From BlueOxygen Wiki
[edit] Creating Cimande SDK Bundle from Cimande Source
If you have a Cimande Source, you can develop your own SDK Bundle. These are the steps to creating your own SDK Bundle
- Get the latest Cimande Source
- Extract Source
- Install Apache Ant (we use 1.7), setup the ANT_HOME, put ANT_HOME/bin in the PATH.
- Go to /build and execute the Ant.
- There is .project filename in the root of the Cimande Source, change the project description's name to your own project name.
- Create the SDK Bundle by typing "ant create-sdk-bundle" from the console, and you path must be inside "/build"
- There will be a new folder "generated", and inside that folder, you will find the cimande-x-x-x-sdk.zip. This is the SDK Bundle.
- to run the code please read Cimande:Running from Eclipse
[edit] Ant Log
This is the ant log, if you execute "ant create-sdk-bundle" you will get this log.
C:\blueoxygen\cimande-new>cd trunk
C:\blueoxygen\cimande-new\trunk>cd build
C:\blueoxygen\cimande-new\trunk\build>ant create-sdk-bundle Buildfile: build.xml
init:
[echo] ---------- BlueOxygen Cimande Project version 1.2.3 ----------
[echo]
[echo] java.class.path = c:\mywork\apache-ant-1.7.0\lib\ant-launcher.jar;C:
[echo]
[echo] java.home = c:\mywork\jdk1.6.0_03\jre
[echo] ant.home = c:\mywork\apache-ant-1.7.0
[echo] user.home = C:\Documents and Settings\meruvian
[echo]
[echo] basedir = C:\blueoxygen\cimande-new\trunk
[echo]
[echo] src.java.dir= C:\blueoxygen\cimande-new\trunk/src/java
[echo]
[echo] build.dir= C:\blueoxygen\cimande-new\trunk
[echo]
[echo] locale.default = en
build:
[echo] Compiling all the code
[echo]
[echo] src.java.dir= C:\blueoxygen\cimande-new\trunk/src/java
[echo]
[echo] build.dest.dir= C:\blueoxygen\cimande-new\trunk/generated/classes
create-jar:
[echo] Copy template files
[copy] Copying 1 file to C:\blueoxygen\cimande-new\trunk\generated\classes\view
[echo] Copy struts xml files to classes
[jar] Building jar: C:\blueoxygen\cimande-new\trunk\generated\bundle\cimande-1.2.3.jar
create-sdk-bundle:
[copy] Copying 1 file to C:\blueoxygen\cimande-new\trunk\generated\blank\WebContent\WEB-INF\lib
[echo] Copying .sql to blank/src/sql
[echo] Copying eclipse project
[echo] Copying WebContent to blank
[jar] Building jar: C:\blueoxygen\cimande-new\trunk\generated\bundle\cimande-1.2.3-sdk.zip
BUILD SUCCESSFUL Total time: 1 minute 13 seconds
