[Pixelle-commit] SF.net SVN: pixelle: [12] trunk/pixelle
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-06-18 02:37:41
|
Revision: 12
http://pixelle.svn.sourceforge.net/pixelle/?rev=12&view=rev
Author: dbrosius
Date: 2008-06-17 19:37:49 -0700 (Tue, 17 Jun 2008)
Log Message:
-----------
collatoral files
Added Paths:
-----------
trunk/pixelle/build.xml
trunk/pixelle/pixelle.fb
Added: trunk/pixelle/build.xml
===================================================================
--- trunk/pixelle/build.xml (rev 0)
+++ trunk/pixelle/build.xml 2008-06-18 02:37:49 UTC (rev 12)
@@ -0,0 +1,122 @@
+<!--
+/*
+ * pixelle - Graphics algorithmic editor
+ * Copyright (C) 2008 Dave Brosius
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+ -->
+
+<project name="pixelle" default="build">
+
+ <property file="build.properties"/>
+
+ <property name="src.dir" value="${basedir}/src"/>
+ <property name="classes.dir" value="${basedir}/classes"/>
+ <property name="lib.dir" value="${basedir}/lib"/>
+ <property name="etc.dir" value="${basedir}/etc"/>
+ <property name="antlr.gen.dir" value="${src.dir}/com/mebigfatguy/pixelle/antlr"/>
+ <property name="javac.source" value="1.5"/>
+ <property name="javac.target" value="1.5"/>
+ <property name="javac.deprecation" value="on"/>
+ <property name="javac.debug" value="on"/>
+
+ <property name="pixelle.version" value="0.1.0"/>
+
+ <target name="clean" description="removes all generated collateral">
+ <delete dir="${classes.dir}"/>
+ <delete dir="${antlr.gen.dir}"/>
+ </target>
+
+ <target name="-init" description="prepares repository for a build">
+ <mkdir dir="${classes.dir}"/>
+ <mkdir dir="${antlr.gen.dir}"/>
+ <mkdir dir="${src.dir}/com/mebigfatguy"/>
+ <path id="pixelle.classpath">
+ <pathelement location="${lib.dir}/antlr-runtime-3.1b1.jar"/>
+ <pathelement location="${lib.dir}/asm-3.1.jar"/>
+ </path>
+ </target>
+
+ <target name="-gen" description="generate antlr files">
+ <exec executable="java" failonerror="true">
+ <arg value="-classpath"/>
+ <arg value="${lib.dir}\antlr-2.7.7.jar;${lib.dir}\antlr-3.1b1.jar;${lib.dir}\antlr-runtime-3.1b1.jar;${lib.dir}\stringtemplate-3.1.jar"/>
+ <arg value="org.antlr.Tool"/>
+ <arg value="-target"/>
+ <arg value="${etc.dir}/Pixelle.g"/>
+ <arg value="-o"/>
+ <arg value="${antlr.gen.dir}"/>
+ </exec>
+ </target>
+
+ <target name="compile" depends="-init, -gen" description="compiles java files">
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ source="${javac.source}"
+ target="${javac.target}"
+ deprecation="${javac.deprecation}"
+ debug="${javac.debug}">
+ <classpath refid="pixelle.classpath"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile" description="produces the pixelle jar file">
+ <jar destfile="${basedir}/pixelle-${pixelle.version}.jar">
+ <fileset dir="${classes.dir}">
+ <include name="**/*.class"/>
+ </fileset>
+ <fileset dir="${basedir}">
+ <include name="license.txt"/>
+ </fileset>
+ <manifest>
+ <attribute name="pixelle-version" value="${fb-contrib.version}"/>
+ <attribute name="Main-Class" value="com.mebigfatguy.pixelle.Pixelle"/>
+ <attribute name="Bundle-ManifestVersion" value="2"/>
+ <attribute name="Bundle-Name" value="pixelle plugin"/>
+ <attribute name="Bundle-SymbolicName" value="com.mebigfatguy.pixelle"/>
+ <attribute name="Bundle-Version" value="${pixelle.version}"/>
+ <attribute name="Export-Package" value="com.mebigfatguy.pixelle"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="srczip" description="builds the source distribution zip file">
+ <zip destfile="${basedir}/fb-contrib-src-${pixelle.version}.zip" basedir="${basedir}">
+ <fileset dir="${basedir}">
+ <include name="**/*.java"/>
+ <include name="**/*.g"/>
+ <include name="lib/*.jar"/>
+ </fileset>
+ </zip>
+ </target>
+
+ <target name="javadoc" depends="-init" description="build the javadoc for the project">
+ <javadoc packagenames="com.mebigfatguy.*"
+ sourcepath="${src.dir}"
+ classpathref="pixelle.classpath"
+ destdir="${javadoc.dir}"
+ windowtitle="pixelle api">
+ <doctitle><![CDATA[<h1>pixelle javadoc</h1>]]></doctitle>
+ <bottom><![CDATA[<i>Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
+ </javadoc>
+ </target>
+
+ <target name="build" depends="clean, -init, compile, jar" description="builds the plugin jar">
+ </target>
+
+ <target name="release" depends="build, srczip, javadoc" description="prepares everything for a release"/>
+
+</project>
\ No newline at end of file
Property changes on: trunk/pixelle/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/pixelle/pixelle.fb
===================================================================
--- trunk/pixelle/pixelle.fb (rev 0)
+++ trunk/pixelle/pixelle.fb 2008-06-18 02:37:49 UTC (rev 12)
@@ -0,0 +1,12 @@
+[Jar files]
+.\classes
+[Source dirs]
+.\src
+[Aux classpath entries]
+.\lib\antlr-2.7.7.jar
+.\lib\antlr-3.1b1.jar
+.\lib\antlr-runtime-3.1b1.jar
+.\lib\asm-3.1.jar
+.\lib\stringtemplate-3.1.jar
+[Options]
+relative_paths=true
Property changes on: trunk/pixelle/pixelle.fb
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|