aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* fixed LongIntHashMap build config.Michael Bien2010-04-151-2/+2
|
* merged LongInt with IntIntHashMap.Michael Bien2010-04-151-7/+15
| | | | IntIntHashMap is now the single template used for all other maps.
* Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-04-131-3/+21
|\
| * gluegen creates now LongObject and LongLongHashMap from LongIntHashMap ↵Michael Bien2010-04-121-3/+21
| | | | | | | | additional to the Int*Maps.
* | Added Uptodate verification to build only when necessarySven Gothel2010-04-131-3/+15
|/
* Merge branch 'master' of github.com:mbien/gluegenSven Gothel2010-04-101-13/+35
|\
| * annotated certain token in IntIntHashMap for text substitution.Michael Bien2010-04-081-13/+35
| | | | | | | | build generates now via text substitution IntLong- and IntObjectHashmap in the pre-build phase.
* | *** Now Using Apache-Ant-1.8.0 ***Sven Gothel2010-04-101-1/+5
|/ | | | | | | | Adding ant-contrib-1.0b3.jar for loops and mutable properties. Cleanup: - Adding Javac includeAntRuntime argument (false whenever possible) - Clear junit results folder before testing - Move deprecated stuff from lib to lib/archive
* initial import of IntIntHashmap + JUnitTest including a benchmark.Michael Bien2010-04-081-0/+1
|
* http://jogamp.org/bugzilla/show_bug.cgi?id=393Sven Gothel2010-04-081-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed junit test: test1 - Create seperate native libraries to reflect a real world example: test1 - the library to bind to (no more declaring __stdcall @nn functions) BindingTest1p1 - the dynamic fixed linkage binding test1p1, references dynamic library test1 at linktime. BindingTest1p2 - the dynamic runtime linkage binding test1p2, loads dynamic library test1 at runtime. Generic: - gluegen-cpptasks-base.xml - target 'gluegen.cpptasks.detect.os' Set new property 'system.env.library.path' DYLD_LIBRARY_PATH (macosx) LD_LIBRARY_PATH (unix) PATH (windows) - target 'gluegen.cpptasks.striplibs' Strips the symbols out of the native libraries in case c.compiler.debug is false. Maybe configured with the properties: c.strip.tool, c.strip.args - Using system.env.library.path in junit call to find the test1 library in case of runtime linkage and lookup (test1p2). - Use gluegen.cpptasks.striplibs for all native libs .. - Added macosx32 in analogy to macosx64, both defaults to true now - com.jogamp.common.os.WindowsDynamicLinkerImpl:lookupSymbol() - Added lookup for __stdcall @nn (stepping alignment 4, max-args: 12) in case no undecorated __cdecl symbol is found. Fixed Windows platform: - Use proper path.seperator on Windows. - test1.dll needs proper soname inside for fixed linkage (test1p1) hence the output name must be test1.dll, not libtest1.so +++ http://jogamp.org/bugzilla/show_bug.cgi?id=394 Fix MacOsX platform: The commit of cpptasks.jar, git hash 129e783741d91e9ee5cd7da5d5c962c32ec96b0b, broke the universal binary build on MacOSX. The above change used cpptasks-1.05b with a few patches in regards to crosscompilation, but missed one, which accepts the '-arch' argument for GccLinker undecorated. The new cpptasks.jar is vanilla 1.05b + cpptasks-1.0b5-darwin-patch.diff, the latter a more refined one. This version accepts the '-arch' argument undecorated on the darwin platform. +++
* fixed generated imports rudimentary (not DRY).. cleanup in work.Michael Bien2010-03-311-0/+2
|
* reduced verbosity in test output.Michael Bien2010-03-311-2/+5
|
* (part2) merged all cdc_fp special cases into one common superclass for each ↵Michael Bien2010-03-281-7/+4
| | | | | | | special case. introduced Platform as utility for querying platform information. special cdc build with cdc_fp bootclasspath temporary dissabled.
* renamed com.sun.gluegen.runtime -> com.jogamp.gluegen.runtime.Michael Bien2010-03-271-13/+13
|
* removed ant warnings:Michael Bien2010-03-261-6/+6
| | | | | -Warning: Reference antlr.classpath has not been set at runtime, but was found during runtime -duplicated project name
* invoke junit.run on testSven Gothel2010-03-251-1/+1
|
* build-junit.xml unique build_t propertySven Gothel2010-03-251-1/+1
|
* http://www.jogamp.org/bugzilla/show_bug.cgi?id=390Sven Gothel2010-03-251-0/+8
| | | | | | | | | | | | | | | | | Adding 'plain' junit tests. Plain stands for the simple processing of: ant.junit.compile: gluegen -> java/c files, javac/cc, jar ant.junit.run: junit batch run Avoiding 'black magic', ie kicking off gluegen and ant-compilation from within the junit tests. Same methodology as the JOGL junit tests, junit test sources are under 'src/junit' This way, the migration to other platform tests might be easier, as well as the we don't need to pass through ant properties (ant - junit - ant), see 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f.
* http://www.jogamp.org/bugzilla/show_bug.cgi?id=390Sven Gothel2010-03-251-8/+11
| | | | | | | | | | | | | | | | The current junit tests use a fixed 'build' sub-path, not the customizing 'rootrel.build' path. More properties needs to be passed through (ant -> junit -> ant) to comply with the current build system: * rootrel.build * os.arch * gluegen.user.compiler.file Fixed .. However .. since even more properties may influence the build, a more native solution with just plain 'ant' might be more desireable ..
* removed test from all build target to safe time when jogl builds.Michael Bien2010-03-121-2/+2
|
* fixed jdk tools.jar classpath for hudson to fix tests.Michael Bien2010-02-121-2/+4
|
* junit test code cleanup and some build preperations for hudson.Michael Bien2010-02-121-9/+9
|
* added test target to main build script.Michael Bien2010-02-121-4/+28
| | | | | added StructAccessorTest, refactored other tests. updated project files, paths etc.
* preparations for continuous builds and cross compilation (WIP).Michael Bien2009-11-201-5/+9
|
* fixed clean target.Michael Bien2009-11-161-2/+2
|
* gluegen.jar compiles now with source=1.5 classfile version (However, ↵Michael Bien2009-10-081-0/+16
| | | | | | gluegen-rt.jar still uses 1.4). generified classes in pcpp package and removed warnings (java 5 cleanup).
* Proper gluegen.properties loadingsg2158892009-07-281-14/+4
|
* Fix: Native CPU 32/64 bit detection; Tested on CVM/J2SEsg2158892009-07-281-10/+13
|
* Fix CDC JAR unificationsg2158892009-07-151-1/+1
|
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-151-9/+16
| | | | necessary. Fix PointerBuffer allocateDirect()
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-151-45/+65
| | | | necessary. Fix PointerBuffer allocateDirect()
* Add missing changessg2158892009-07-131-0/+2
|
* Change version number to conform to JOGL naming conventionKenneth Russel2009-06-171-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@148 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Copied JOGL_2_SANDBOX r145 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-151-0/+530
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@147 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Deleted obsolete source code in preparation for copying JOGL_2_SANDBOXKenneth Russel2009-06-151-488/+0
| | | | | | | on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed build breakage on non-Windows platforms due to recent changes toKenneth Russel2008-05-151-11/+18
| | | | | | | support building against CDC/FP bootstrap classes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@76 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Refactorings to support building JOGL and supporting libraries on Kenneth Russel2008-05-131-2/+38
| | | | | | | Java ME / CDC / FP git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@75 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed Issue 5: build: Use system antlr automatically if jpackage-compatible ↵Kenneth Russel2008-04-191-0/+4
| | | | | | | | | | system Added available check of /usr/share/java/antlr.jar. Not fully tested. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@74 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Normalized gluegen-rt-natives jar file names using new definitions Kenneth Russel2006-09-031-30/+3
| | | | | | | from gluegen-cpptasks.xml git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@45 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Fixed build breakage on Solaris/SPARCv9 and Solaris/AMD64 platformsKenneth Russel2006-08-131-4/+4
| | | | | | | after recent build.xml compiler refactoring git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@41 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Refactored initialization of C compilers via cpptasks into Kenneth Russel2006-08-121-133/+1
| | | | | | | | | | | gluegen-cpptasks.xml. Now JOGL and JOAL subclass these compiler and linker definitions where necessary, resulting in much more code sharing between the build.xml files. JOAL should now be ready to compile on more platforms as well. Tested so far on Windows; will test builds on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@40 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Made GlueGen build.xml build the NativeLibrary native code on allKenneth Russel2006-08-091-1/+1
| | | | | | | platforms by default git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@39 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added NativeLibrary helper class to com.sun.gluegen.runtime package, Kenneth Russel2006-08-011-0/+423
| | | | | | | | | | | | | | | | | | | | | principally to generally solve the problem of downloading dependent libraries of GlueGen-generated native code, as in the case of JOAL and OpenAL reported recently by Shawn Kendall on JOAL forums. Autogenerated Java and native code associated with this new NativeLibrary helper class is currently checked in to the GlueGen workspace to make it easier to build across multiple platforms; it can be regenerated by running the generate.nativelibrary.sources Ant target in the GlueGen workspace. Building of the native code in the GlueGen workspace is currently disabled by default and can be enabled by specifying -Dbuild.native=1 on the ant command line. Use of the new NativeLibrary class in JOAL is currently disabled by default and can be enabled by specifying -Djoal.use.gluegen=1 to applications using JOAL. New functionality has been lightly tested with JOAL on Windows and appears to be working. More testing, including build and Java Web Start deployment testing, to follow on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@37 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added NativeSignatureEmitterKenneth Russel2006-03-061-2/+10
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@22 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Added download and build instructions to GlueGen manual. Added Kenneth Russel2006-01-171-1/+7
| | | | | | | Manifest to gluegen.jar to make it easier to run as an executable jar. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@9 a78bb65f-1512-4460-ba86-f6dc96a7bf27
* Moved GlueGen out of the JOGL workspace and into its own project. Kenneth Russel2006-01-151-0/+163
Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@3 a78bb65f-1512-4460-ba86-f6dc96a7bf27