Closed Level0r0s closed 8 years ago
Not yet.
There is hudson CI configuration (hudsonci/config.xml) that invokes ant to build all Platypus.js parts, including installation packs. You may look there.
Also, there are NetBeans projects "application/src/group", "designer" and Eclipse project "web-client/src/platypus". If you build them and perform two extra steps (copy with overwrite folder " web-client/src/pwc-external" to folder where platypus browser client is linked by the gwt and copy the result to folder "application/bin/pwc"), you will get a fresh version of Platypus.js without installation packs.
Download source code https://github.com/altsoft/PlatypusJS
application => source files javascript Platypus Platform | __lib > lib jar files used by Runtime Platypus Platform | __src > files java responsable Bridge JavaScript Platypus Platform (build in NetBeans) | ___group > All NetBeans Group | ___lib > Java class (use no identificate) | ||||||
---|---|---|---|---|---|---|---|---|---|---|
___designer > IDE Design vinculate in NetBeans | ||||||||||
___hudsonci | ||||||||||
___installer > Java Class Create instalator | ||||||||||
___web_client > Eclipse Project | ||||||||||
___src | ||||||||||
___platypus | ||||||||||
___src > Java class responsable to create javascript object = gwt | ||||||||||
___pwc_external |
Now you will get a fresh version of Platypus.js without installation packs.
build-instructions.md created in root folder. See https://github.com/altsoft/PlatypusJS/blob/master/build-instructions.md
Please check list build-instructions.md
3 . Type ant -f ./designer/build.xml clean build -Dnbplatform.default.harness.dir=/home/your-home-dir/your-netbeans-dir/harness/ -Dnbplatform.default.netbeans.dest.dir=/home/your-home-dir/your-netbeans-dir/
on the command line. This will build Platypus IDE and will put it to ./designer/build
folder.
Is equal START destination folder ?
/home/your-home-dir/your-netbeans-dir/harness/
/home/your-home-dir/your-netbeans-dir/
ERRO OCURRED:
D:\PlatypusJS>ant -f ./designer/run.xml run
Buildfile: D:\PlatypusJS\designer\run.xml
download:
BUILD FAILED
D:\PlatypusJS\designer\run.xml:7: The following error occurred while executing this line:
D:\PlatypusJS\designer\nbproject\build-impl.xml:42: Cannot find NetBeans build harness.
Check that nbplatform.default.netbeans.dest.dir and nbplatform.default.harness.dir are defined.
On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties
but for automated builds you should pass these properties to Ant explicitly.
-Dnbplatform.default.harness.dir=/home/your-home-dir/your-netbeans-dir/harness/ -Dnbplatform.default.netbeans.dest.dir=
/home/your-home-dir/your-netbeans-dir/
Total time: 0 seconds
files log log_build_1.txt log_build_2.txt log_build_3.txt
/home/your-home-dir/your-netbeans-dir/ may be the same, so in you case it may be: ant -f ./designer/run.xml run -Dnbplatform.default.harness.dir=D:\netbeans-8.1\harness -Dnbplatform.default.netbeans.dest.dir=D:\netbeans-8.1
Yes .. resolved ant -f ./designer/run.xml run -Dnbplatform.default.harness.dir=%netbeans%/harness/ -Dnbplatform.default.netbeans.dest.dir=%netbeans%/
tanks
Exist HowTo or screencast to Build PlatypusJS ?