Revision: 3029
          http://vexi.svn.sourceforge.net/vexi/?rev=3029&view=rev
Author:   mkpg2
Date:     2008-08-04 18:08:30 +0000 (Mon, 04 Aug 2008)

Log Message:
-----------
Development.
  - work on build (optionally specify output dir for jars/archives)
  - upgraded to proguard 4.2
  - Fix. to launcher getLastModified() not getDate()  !!!!
  - work on testdeploy

Modified Paths:
--------------
    trunk/core/buildcore/antlib/proguard_out.jar
    trunk/core/buildcore/build.xml

Removed Paths:
-------------
    trunk/core/buildcore/vexi.pro

Modified: trunk/core/buildcore/build.xml
===================================================================
--- trunk/core/buildcore/build.xml      2008-08-04 18:04:08 UTC (rev 3028)
+++ trunk/core/buildcore/build.xml      2008-08-04 18:08:30 UTC (rev 3029)
@@ -127,9 +127,34 @@
 
        <target name="buildcore" depends="parts" description="create 
optimisable and non-optimisable jars">
                <!--optimize -->
-               <proguard configuration="vexi.pro"/>
+               <proguard>
+                       -injars  ${build_dir}/part_opt.jar
+                       -outjars ${build_dir}/part_optO.jar
+
+                       <!-- REMARK - Use multiple libraryjars options to get 
around OS path separator difference (: vs. ;) -->
+                       -libraryjars &lt;java.home>/lib/rt.jar
+                       -libraryjars ${build_dir}/part_noopt.jar
+
+                       
+                       -dontobfuscate 
+                       
+
+
+                       <!-- Allow classes and class members to be made public. 
-->
+                       -allowaccessmodification
+
+                        
+                       <!-- The entry point -->
+                       -keep public class org.vexi.core.Main {
+                           public static void main(java.lang.String[]);
+                       }
+                       -keep class org.vexi.plat.Java2
+                       -keep class org.vexi.plat.Java2$Java14Surface{*;}
+               </proguard>
                <makeManifest mainclass="org.vexi.core.Main"/>
-               <jar jarfile="${build_dir}/vexi3_${version}.jar" 
manifest="${build_dir}/themanifest.mf">
+               <property name="corefile" value="vexi3_${version}.jar"/>
+               <property name="outdir" value="${build_dir}"/>
+               <jar jarfile="${outdir}/${corefile}" 
manifest="${build_dir}/themanifest.mf">
                        <zipgroupfileset dir="${build_dir}" 
                                includes="part_noopt.jar,part_optO.jar"/>
                </jar>
@@ -149,11 +174,11 @@
        </target>
 
        <target name="buildwidgets"  description="Zips up the widgets">
-               <ant antfile="../org.vexi.widgets/build.xml" inheritall="false">
-                       <property name="build_dir" value="${build_dir}" 
taskname="build"/>
+               <ant antfile="../org.vexi.widgets/build.xml" inheritall="false" 
taskname="build">
+                       <property name="build_dir" value="${build_dir}" />
                </ant>
-               <ant antfile="../org.vexi.pageflow/build.xml" 
inheritall="false">
-                       <property name="build_dir" value="${build_dir}" 
taskname="build"/>
+               <ant antfile="../org.vexi.pageflow/build.xml" 
inheritall="false" taskname="build">
+                       <property name="build_dir" value="${build_dir}" />
                </ant>
        </target>
 

Deleted: trunk/core/buildcore/vexi.pro
===================================================================
--- trunk/core/buildcore/vexi.pro       2008-08-04 18:04:08 UTC (rev 3028)
+++ trunk/core/buildcore/vexi.pro       2008-08-04 18:08:30 UTC (rev 3029)
@@ -1,37 +0,0 @@
-#
-# This ProGuard configuration file illustrates how to process ProGuard itself.
-# Configuration files for typical applications will be very similar.
-# Usage:
-#     java -jar proguard.jar @proguard.pro
-#
-
-# Specify the input jars, output jars, and library jars.
-# We'll filter out the Ant and WTK classes, keeping everything else.
-
--injars  ./build/part_opt.jar
--outjars ./build/part_optO.jar
-
-# Use multiple libraryjars options to get around OS path separator
-# issues -- Windows expects ';' whereas Linux expects ':'
--libraryjars <java.home>/lib/rt.jar
--libraryjars ./build/part_noopt.jar
-
--dontobfuscate 
-#-keepnames public class org.vexi.plat.Java2
-
-#-printmapping proguard.map
-#-overloadaggressively
-#-repackageclasses ''
-
-# Allow classes and class members to be made public.
-
--allowaccessmodification
-
- 
-# The entry point
--keep public class org.vexi.core.Main {
-    public static void main(java.lang.String[]);
-}
--keep class org.vexi.plat.Java2
--keep class org.vexi.plat.Java2$Java14Surface{*;}
-


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to