Skip to content

Commit e525256

Browse files
author
dlsmith
committed
Build script revision.
- Removed Java 1.4-related targets from Ant, and deleted Retroweaver backwards-compatibility libraries. - Compilation is performed against the Java 5 APIs, regardless of the running Java version. JAVA5_HOME must be set. Test and run targets also can be invoked to run with a specific JVM version (identified with JAVA5_HOME or JAVA6_HOME). - Build properties can be loaded from a file "../ant.properties"; filename is customizable with "ant -Dprops=<filename> ...". - Property renaming: "-Dtest-drjava-config=..." is now "-Ddrjava.test.config=...". - Updated findbugs build target to generate its filter file on-the-fly -- rather than editing the findbugs-filter.xml file, changes can be made directly in build.xml. Added an option for customizing the FindBugs timeout. - Updated ant-contrib.jar to 1.0b3. This fixes incorrect behavior in the try/catch construct. (Cleaned up related workaround code in build.xml.) - Replaced strip-license & relicense scripts with an Ant target. - Fixed bugs in the "benchmark" build target. (Generating a user-readable report is still a to-do.) - Misc minor cleanup in build.xml. git-svn-id: file:///tmp/test-svn/trunk@4678 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 08c462c commit e525256

File tree

12 files changed

+379
-583
lines changed

12 files changed

+379
-583
lines changed

drjava/COPYRIGHT

Lines changed: 0 additions & 36 deletions
This file was deleted.

drjava/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ If not, follow the instructions at http://www.drjava.org/devdocs/ for
2626
setting up a DrJava development environment.
2727

2828
1) Make a directory to be the top-level container for you drjava code
29-
tree. I recommend "drjava".
29+
tree. I recommend "dj".
3030

3131
2) Descend into this new directory by typing the command
3232

33-
cd ~/drjava
33+
cd ~/dj
3434

3535
3) Download the drjava source code base by typing the command
3636

@@ -39,19 +39,19 @@ setting up a DrJava development environment.
3939
4) After this download completes, descend into the root directory of
4040
the dowloaded code base by typing the command
4141

42-
cd ~/drjava
42+
cd drjava
4343

4444
5) To compile the code base and generate a jar file containing the
4545
compiled program, enter the command
4646

4747
ant jar
4848

49-
which builds a jar filed named drjava-15.jar
49+
which builds a jar filed named drjava.jar
5050

5151
If the build is successful, you can execute the built program by
5252
entering the command
5353

54-
java -jar drjava-15.jar
54+
java -jar drjava.jar
5555

5656
If you encounter any problems, consult the Developer Docs at
5757
drjava.org by visiting http://www.drjava.org/devdocs/.

drjava/build.xml

Lines changed: 369 additions & 495 deletions
Large diffs are not rendered by default.
-324 KB
Binary file not shown.
29.5 KB
Binary file not shown.

drjava/lib/buildlib/findbugs-filter.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.
-126 KB
Binary file not shown.

drjava/lib/readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ VERSIONS:
88
asm-3.1.jar: ASM 3.1 (http://asm.objectweb.org)
99
docs.jar: docs-20060901-2010
1010
dynamicjava-base-15.jar: dynamicjava-20080709
11+
forms-1.0.7.jar: JGoodies Forms
1112
javalanglevels.jar: javalanglevels-20080709
1213
junit.jar: JUnit 4.4
14+
looks-2.1.4.jar: JGoodies Looks
1315
platform.jar: platform-20070213-2003
1416
plt.jar: plt-20080709-1847
15-
retroweaver-rt-1.2.3.jar: Retroweaver 1.2.3
16-
winlaf-0.5.1.jar: WinLAF 0.5.1
1717

18-
buildlib/ant-contrib.jar: ANT Contrib 1.0b2
18+
buildlib/ant-contrib.jar: ANT Contrib 1.0b3
1919
buildlib/cenquatasks.jar: Distributed with Clover 1.3.9
20+
buildlib/findbugs-ant.jar: FindBugs 1.3.1
2021
buildlib/junit.jar: JUnit 4.4
2122
buildlib/plt-ant.jar: plt-ant-20070212-2001
22-
buildlib/retroweaver-all-1.2.3.jar: Retroweaver 1.2.3
-6.78 KB
Binary file not shown.

drjava/relicense

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)