summaryrefslogtreecommitdiffstats
path: root/make/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* Fix Android apk activity; Add apk VersionName; Add jar manifest to apkSven Gothel2011-07-281-23/+37
| | | | | | | | | | | | | | | | - build: - exclude android packages if !isAndroid - aapt: - Use individual AndroidManifest xml files - optional: incl. our JAR manifest file to support detailed version info - use def. GluegenVersionActivity - APK VersionName: Retrieve and show - package/extension names: - gluegen.jar/apk: com.jogamp.gluegen - gluegen-rt.jar/apk: com.jogamp.common
* Fix android build/unit-test ; Generalize aapt packaging (macro) ; Use jogamp ↵Sven Gothel2011-07-281-97/+22
| | | | | | | | | | | | | | | | icons make/scripts/make.gluegen.all.android-armv7-cross.sh - make Rami and me happy :) - 3 default locations plus recognize user provided android toolkit path - fixes using ant targets as arguments make/jogamp-androidtasks.xml - macro aapt.signed: create signed apk file from jar - incl. adding native libraries - see macro doc. adding generic jogamp icons/images
* Merge branch 'wip_mobile' of git://github.com/sgothel/gluegen into wip_mobileRami Santina2011-07-261-1/+1
|\
| * Cross JUnit Tests - All Passed: Android+Linux armv7Sven Gothel2011-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | - junit.cross targets: - use scripting to save time, ie write all target commands to script, xfer, exec - junit: delete result folder just before junit.run - Test BuildEnvironment.java: Simplify path config via properties (for android) - AndroidVersion: No annoying exception dump if Build$VERSION* is not found (not android) - launch scripts: use absolute TARGET_ROOT path for dynamic linker env.
* | Added android packaging for android gluegen-rt.apkRami Santina2011-07-261-12/+87
|/ | | | | | | | | the apk package can be installed on android device using adb install gluegen-rt.apk reference package on device is com.jogamp.gluegen gerenic icons is added to be replaced by jogamp logo changes to apk can be controled thru manifest lib/android/AndroidManifest.xml
* Add native lib in apk, needs work to be installed (manifest ...)Sven Gothel2011-07-241-2/+10
|
* Cleaned up android build ; Cross junit/java android test/script; Fix ↵Sven Gothel2011-07-241-1/+5
| | | | | | | | | | | | | | | | | | | Test1p2ProcAddressEmitter Fix Test1p2ProcAddressEmitter - 3 tests used the wrong binding instance, where no native lib was loaded for - duh :) Cleaned up android build - add unix src (UnixDynamicLinkerImpl_JNI.c) - remove linker cmds in compile arguments Cross junit/java android test works via script - target command scrip is written to file, pushed and executed Status: com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter - passed - on par w/ linux-armv7
* Complete android apk creation and cont. unit test launch. Need to write unit ↵Sven Gothel2011-07-241-13/+7
| | | | test commands to file - too long for single adb shell command
* Android integration / cross-test ; Enhance PlatformSven Gothel2011-07-241-2/+25
| | | | | | | | | | | - android minor build fix - started dex'ing (gluegen-rt.apk, more to come for full junit tests) - android remote dalvikvm launch works (crosstest-java-android-armv7-rel.sh) - android detection, incl version (reflection) - Platform: - Add JAVA_VM_NAME and JAVA_VM_RUNIME - OSType maybe ANDROID, where the OS name (String) is Linux ! (ok ?)
* add props compiler.cfg.linux.x86, linker.cfg.linux.x86 for proper ↵Sven Gothel2011-07-221-2/+2
| | | | linux-x86_32 spec. removed android props, we use custom xml files
* Fix TestStructAccessorEndianSven Gothel2011-07-211-5/+5
| | | | | | | | | | | | - StructAccessor uses byteOffset now (since 8b3057585930357bb16546f584d998953b084034) Fix linux armv7l eabi: - build.xml arm7 -> armv7 - all tests passes Adding NativeSizeAlignment-linux-armv7l_eabi from passing test OK: linux 32/64/armv7l, windows 32/64
* GlueGen proper size / alignment of primitive and compound types usage [1/2] ↵Sven Gothel2011-07-171-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Preparation. Currently GlueGen fails for type long (size) and some alignments (see package.html). - The size and alignment values shall be queried at runtime. - Compound alignment needs to follow the described natural alignment (also @runtime). - - Build - add Linux Arm7 (EABI) - junit test - added compound/struct tests, pointing out the shortcomings of current impl. - package.html - Added alignment documentation - remove intptr.cfg - add GluGen types int8_t, int16_t, uint8_t, uint16_t - move MachineDescription* into runtime - Platform - has runtime MachineDescription - moved size, .. to MachineDescription - use enums for OSType, CPUArch and CPUType defined by os.name/os.arch, triggering exception if os/arch is not supported. This avoids Java String comparison and conscious os/arch detection. - MachineDescription: - compile time instances MachineDescription32Bits, MachineDescription64Bits - runtime queried instance MachineDescriptionRuntime - correct size, alignment, page size, ..
* src-zip: no compression to benefit from xz/7z compressionSven Gothel2011-06-091-1/+1
|
* build.xml: native jar shall be created in native build targetSven Gothel2011-06-081-5/+7
|
* Fix C / JNI compilation: Add/use javah, recompile if out of date,Sven Gothel2011-06-071-24/+45
|
* create source zip archives per defaultSven Gothel2011-05-221-5/+11
|
* Add all.debug targetSven Gothel2011-05-171-1/+3
|
* leave java source zip file in build folder (if BUILD_ARCHIVE=true)Sven Gothel2011-05-171-1/+2
|
* build: Query git branch/sha1 and use it if not set and tools are available; ↵Sven Gothel2011-05-161-3/+19
| | | | | | | | | | Add Java source zip file. Query git branch/sha1 and use it if not set and tools are available. This shall improve tracking of manual generated binaries/bundles. Add Java source zip file. Contains all Java source code (incl. generated ones) enhancing IDE usage, where API doc and source browsing of libs is supported (NB/Eclipse/etc).
* Remove redundant setup.java.home.dir, use proper gluegen-cpptasks-base.xml ↵Sven Gothel2011-04-201-16/+1
| | | | target gluegen.cpptasks.setup.compiler (instead of gluegen.cpptasks.detect.compiler)
* ant: using target.sourcelevel, host.sourcelevel, javacdebug and ↵Sven Gothel2011-04-201-9/+23
| | | | | | | | | javacdebuglevel for compilation ; osx fix ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation osx fix: remove java.include.dir.platform property def, since it should be done in the gluegen-cpptasks-base.xml
* Fix archive.7z: unset property destfile.path. gluegen-archivetasks.xml -> ↵Sven Gothel2011-02-241-1/+1
| | | | jogamp-archivetasks.xml
* fix jogamp-env.xml ; uses env vars BUILD_ARCHIVE=true|yes and NODE_NAME if setSven Gothel2011-02-231-1/+2
|
* Inverse build attribute build.noarchive -> build.archiveonSven Gothel2011-02-231-1/+1
|
* Provide task 'archive.7z' and use it instead of zipSven Gothel2011-02-231-5/+5
|
* Remove CDCSven Gothel2011-02-091-76/+1
|
* Bump Java source level to 1.5 / Disable CDC buildsSven Gothel2011-02-091-20/+23
|
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-091-1/+1
| | | | | | | | | | | | jogamp.<module> - com.jogamp.common.impl -> jogamp.common This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* copy gluegen-rt.jnlp with empty codebase to build folder for local testing.Michael Bien2011-02-051-0/+11
| | | | this jnlp is not used for the distribution zip file.
* run tag.build from base.compileSven Gothel2010-12-161-2/+2
|
* archive test resultsSven Gothel2010-12-151-2/+2
|
* Disabled Struct* Tests (not working on Windows .. platform; Moved ↵Sven Gothel2010-11-251-36/+1
| | | | BuffersTest and PCPP to the proper src/junit folder. All junit tests are now handled by build-junit.xml
* Fix Version test while using the JAR files in classpath; Cleanup Manifest orderSven Gothel2010-11-231-1/+1
|
* added missing end tag which got lost in merge.Michael Bien2010-11-181-1/+1
|
* seperated reuseable tasks into maven-common.xmlMichael Bien2010-11-181-2/+4
| | | | fixed typos in pom-template.xml
* Composing valid POMs for maven artifactsEvgeniy Tsvigun2010-11-181-64/+93
|
* Added maven deploy target, changed group to "org.jogamp.gluegen"Evgeniy Tsvigun2010-11-181-1/+46
|
* "maven.install" target added to buildEvgeniy Tsvigun2010-11-181-0/+43
|
* Add general purpose WriteCloneable interfaceSven Gothel2010-11-171-0/+1
|
* Use common javadoc file structure 'javadoc/<module>/<javadoc-type>' and zip ↵Sven Gothel2010-11-161-5/+8
| | | | all <module>/** to javadoc.zip. This shall be done for all jogamp modules
* Fix javadoc: Add missing 'javadoc.link' propertySven Gothel2010-11-151-0/+3
|
* Adding SCM_BRANCH, gluegen.build.branch infoSven Gothel2010-11-101-0/+5
|
* Added 'gluegen.build.id' (hudson timestamp) and 'gluegen.build.commit' (git ↵Sven Gothel2010-11-101-3/+11
| | | | | | commit sha1) to the JARs Manifest files and artifact.properties.
* Incooperate gluegen.build.number in ZIP archive name and in JAR manifestsSven Gothel2010-11-091-9/+20
|
* Enhance API doc .. package description etcSven Gothel2010-11-091-0/+1
|
* Archive: add timestamp; javadoc with 1.5Sven Gothel2010-11-091-2/+6
|
* Adding developer zip archive, which is being reused for deployment.Sven Gothel2010-11-091-5/+41
|
* Proper antlr.jar in NB projects.xml (2nd try)Sven Gothel2010-11-081-1/+1
|
* Fix PCPP 'define' case; Keep PCPP output file if 'debug' ; GlueGen uses PCPP ↵Sven Gothel2010-11-071-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | in same thread via File. Fix PCPP 'define' case ------------------------ A recursive define like: #define LALA ((int)1) #define LILI LALA was streamed out of PCPP, even though such 'macro defines' like #define LILI ((int)1) are disabled due to the parsers inability to digg those. Added test on macro definition for replaced values. GlueGen uses PCPP in same thread via File ------------------------------------------ To ease debugging we call PCPP from the same thread and use normal temp files as i/o. Keep PCPP output file if 'debug' --------------------------------- Keep temp outfile if debug is enabled
* Tests: Enable all tests ; Remove 'test' target -> 'junit.run' ; Fix junit ↵Sven Gothel2010-11-071-35/+40
| | | | | | | | | | | | chained tests; Enable all tests - Remove 'test' target -> 'junit.run' - calls build.xml tests first, then - calls build-junit.xml tests - build.xml unit tests were disabled, enable them via junit.run