Skip to main content
blob: 3b7733551923402cb126cf78b8d5ad5d23ec4532 (plain) (tree)

<?xml version="1.0" encoding="UTF-8"?>
Bundles the aspects into a JAR library in the "release" folder

NOTE: this build script must be run as part of the Eclipse build 
process. External build is not yet supported.
<project name="" default="package-jar">
    <description>Contains aspects which apply to the eTrice Java runtime</description>
	<target name="init">
		<!-- TODO: set up basedir if not in eclipse -->
		<!-- TODO: set up classpath with aspectj weaver if not in eclipse -->
		<property name="jardir" value="${basedir}/dist" />
		<property name="bindir" value="${basedir}/bin" />
		<property name="srcdir" value="${basedir}/src" />
    <target name="package-jar" depends="init">
		<jar destfile="${jardir}/">
			<fileset dir="${bindir}" includes="**/*" />
			<fileset dir="${srcdir}" includes="**/*" />

Back to the top