From 4f548b7b2752277c54e636583b2c9a83ca51e093 Mon Sep 17 00:00:00 2001 From: sponge Date: Fri, 1 Jan 2010 21:28:28 +0000 Subject: [PATCH] Added a target to generate a stand-alone BOB jar file. --- apps/BOB/build.xml | 15 ++ apps/BOB/nbproject/build-impl.xml | 219 +++++++++++++++--- apps/BOB/nbproject/genfiles.properties | 4 +- apps/BOB/nbproject/private/private.properties | 4 +- apps/BOB/nbproject/private/private.xml | 3 - apps/BOB/nbproject/project.properties | 8 +- .../i2p/BOB/{COPYING => license-WTFPL.txt} | 0 build.xml | 6 + history.txt | 4 + 9 files changed, 226 insertions(+), 37 deletions(-) rename apps/BOB/src/net/i2p/BOB/{COPYING => license-WTFPL.txt} (100%) diff --git a/apps/BOB/build.xml b/apps/BOB/build.xml index 0d2a66eaa..69e48bdb3 100644 --- a/apps/BOB/build.xml +++ b/apps/BOB/build.xml @@ -71,4 +71,19 @@ nbproject/build-impl.xml file. --> + + + + + + + + + + + + + + + diff --git a/apps/BOB/nbproject/build-impl.xml b/apps/BOB/nbproject/build-impl.xml index d8ed4de11..8cf3c176d 100644 --- a/apps/BOB/nbproject/build-impl.xml +++ b/apps/BOB/nbproject/build-impl.xml @@ -20,6 +20,13 @@ is divided into following sections: --> + + + + + + + @@ -152,14 +190,23 @@ is divided into following sections: - + + - + + + + + + + + - + + @@ -198,7 +245,7 @@ is divided into following sections: - + @@ -213,6 +260,7 @@ is divided into following sections: + @@ -269,8 +317,11 @@ is divided into following sections: + + + @@ -287,12 +338,16 @@ is divided into following sections: + + + + - + @@ -316,7 +371,22 @@ is divided into following sections: COMPILATION SECTION =================== --> - + + + + + + + + + + + + + + + + @@ -332,10 +402,15 @@ is divided into following sections: - + + + + + + - + @@ -352,7 +427,7 @@ is divided into following sections: Must select some files in the IDE or set javac.includes - + @@ -372,10 +447,10 @@ is divided into following sections: - + - + @@ -418,11 +493,53 @@ is divided into following sections: java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + diff --git a/apps/BOB/nbproject/genfiles.properties b/apps/BOB/nbproject/genfiles.properties index ca344b0d3..20b18c60e 100644 --- a/apps/BOB/nbproject/genfiles.properties +++ b/apps/BOB/nbproject/genfiles.properties @@ -4,5 +4,5 @@ build.xml.stylesheet.CRC32=958a1d3e # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=209349b6 -nbproject/build-impl.xml.script.CRC32=c51e188e -nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 +nbproject/build-impl.xml.script.CRC32=49fa9a49 +nbproject/build-impl.xml.stylesheet.CRC32=576378a2@1.32.1.45 diff --git a/apps/BOB/nbproject/private/private.properties b/apps/BOB/nbproject/private/private.properties index 416ecb6b1..0aded0a23 100644 --- a/apps/BOB/nbproject/private/private.properties +++ b/apps/BOB/nbproject/private/private.properties @@ -3,5 +3,5 @@ do.depend=false do.jar=true javac.debug=true javadoc.preview=true -jaxws.endorsed.dir=/usr/local/netbeans-6.5/java2/modules/ext/jaxws21/api:/usr/local/netbeans-6.5/ide10/modules/ext/jaxb/api -user.properties.file=/root/.netbeans/6.5/build.properties +jaxbwiz.endorsed.dirs=/usr/local/netbeans-6.8/ide12/modules/ext/jaxb/api +user.properties.file=/root/.netbeans/6.8/build.properties diff --git a/apps/BOB/nbproject/private/private.xml b/apps/BOB/nbproject/private/private.xml index 653e554c3..c1f155a78 100644 --- a/apps/BOB/nbproject/private/private.xml +++ b/apps/BOB/nbproject/private/private.xml @@ -1,7 +1,4 @@ - - file:/usblv/NetBeansProjects/i2p.i2p/apps/BOB/src/net/i2p/BOB/TCPio.java - diff --git a/apps/BOB/nbproject/project.properties b/apps/BOB/nbproject/project.properties index 9eeffd29f..85cafee08 100644 --- a/apps/BOB/nbproject/project.properties +++ b/apps/BOB/nbproject/project.properties @@ -1,5 +1,6 @@ +application.homepage=http://bob.i2p/ application.title=BOB -application.vendor=root +application.vendor=Sponge auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=false auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=8 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=8 @@ -11,6 +12,7 @@ build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes @@ -23,6 +25,7 @@ debug.test.classpath=\ dist.dir=dist dist.jar=${dist.dir}/BOB.jar dist.javadoc.dir=${dist.dir}/javadoc +endorsed.classpath= excludes= file.reference.build-javadoc=../../i2p.i2p/build/javadoc file.reference.i2p.jar=../../core/java/build/i2p.jar @@ -33,7 +36,7 @@ file.reference.router.jar=../../router/java/build/router.jar file.reference.streaming.jar=../streaming/java/build/streaming.jar file.reference.wrapper.jar=../../installer/lib/wrapper/linux/wrapper.jar includes=** -jar.compress=false +jar.compress=true javac.classpath=\ ${file.reference.router.jar}:\ ${file.reference.i2ptunnel.jar}:\ @@ -63,6 +66,7 @@ javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= +jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api" jnlp.codebase.type=local jnlp.codebase.url=file:/root/NetBeansProjects/i2p.i2p/apps/BOB/dist/ jnlp.descriptor=application diff --git a/apps/BOB/src/net/i2p/BOB/COPYING b/apps/BOB/src/net/i2p/BOB/license-WTFPL.txt similarity index 100% rename from apps/BOB/src/net/i2p/BOB/COPYING rename to apps/BOB/src/net/i2p/BOB/license-WTFPL.txt diff --git a/build.xml b/build.xml index d04cb4ad4..03e894783 100644 --- a/build.xml +++ b/build.xml @@ -25,6 +25,7 @@ + @@ -193,6 +194,7 @@ + @@ -532,6 +534,10 @@ + + + + diff --git a/history.txt b/history.txt index 27db1539f..6dbb8c8c3 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,7 @@ +2010-01-01 sponge + * Happy New year everyone! + * Added a target to generate a stand-alone BOB jar file. + 2009-12-31 zzz * BuildResponseRecord: Make static * i2np: Remove unused logs