summaryrefslogtreecommitdiffstats
path: root/classes/java-library.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Revert "meta-java: rely on well known bootstrap-path"Jackie Huang2016-01-041-2/+1
| | | | | | | | This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* meta-java: rely on well known bootstrap-pathJens Rehsack2015-12-081-1/+2
| | | | | | | | | | | | Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* java-library: inherit allarchMax Krummenacher2015-02-171-3/+5
| | | | | | | | | | | | | | | | | | Use the allarch class to make every packages in the 'all' ARCH. Recipes inheriting java-library which build additional packages which don't belong in to all ARCH must manually setting PACKAGE_ARCH after inheritting java-library. This fixes the following error when building e.g. rhino for a second machine of different architecture in the same build directory: ERROR: The recipe rhino is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /.../ipk/all/librhino-java_1.7r4-r0_all.ipk Matched in manifest-armv7at2hf-vfp-rhino-package_write_ipk Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* jamvm-native: separate bootclasspath out into shell scriptHenning Heinold2013-09-291-3/+0
| | | | | | * instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
* java-library.bbclass: Export BOOTCLASSPATH and LD_LIBRARY_PATHKhem Raj2013-09-291-0/+3
| | | | | | | They are helpful in rebuilding from shared state since jamvm is not so relocatable. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* java-library.bbclass: consider multilibKhem Raj2013-09-291-4/+5
| | | | | | | | | | | | | | | | | | | | | | when multilib is enabled the prefix begins with lib32- and thats got wrong when computing JPN. Lets make sure that mlprefix is handled properly while constructing JPN for multilib package e.g. lib32-dbus-java will now create lib32-libdbus-java instead of lib32-dbus-java which was same as PN and caused warnings like WARNING: Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_lib32-dbus-java (${datadir_java}). Signed-off-by: Khem Raj <raj.khem@gmail.com>
* java-library.bbclass: do not fully replace do_install with oe_jarinstallOtavio Salvador2012-03-051-1/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* java-library.bbclass: allow for regular packages generationOtavio Salvador2012-03-051-1/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* meta-java: initial commitHenning Heinold2011-11-261-0/+58
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native