Browse Source

Various changes to the project properties file:

  * Exclude SVG and XCF when building the JAR archive
  * Enable warnings for deprecated APIs
  * Remove swing library from the classpath
  * Change target JVM to 1.6

git-svn-id: http://svn.dmdirc.com/trunk@778 00569f92-eb28-0410-84fd-f71c24880f
tags/0.3
Chris Smith 17 years ago
parent
commit
4dd5d939b0
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      nbproject/project.properties

+ 5
- 6
nbproject/project.properties View File

@@ -1,6 +1,6 @@
1 1
 application.args=
2 2
 build.classes.dir=${build.dir}/classes
3
-build.classes.excludes=**/*.java,**/*.form
3
+build.classes.excludes=**/*.java,**/*.form,**/*.svg,**/*.xcf
4 4
 # This directory is removed when the project is cleaned:
5 5
 build.dir=build
6 6
 build.generated.dir=${build.dir}/generated
@@ -17,13 +17,12 @@ dist.dir=dist
17 17
 dist.jar=${dist.dir}/DMDirc.jar
18 18
 dist.javadoc.dir=${dist.dir}/javadoc
19 19
 jar.compress=false
20
-javac.classpath=\
21
-    ${libs.swing-layout.classpath}
20
+javac.classpath=
22 21
 # Space-separated list of extra javac options
23 22
 javac.compilerargs=-Xlint:all
24
-javac.deprecation=false
25
-javac.source=1.5
26
-javac.target=1.5
23
+javac.deprecation=true
24
+javac.source=1.6
25
+javac.target=1.6
27 26
 javac.test.classpath=\
28 27
     ${javac.classpath}:\
29 28
     ${build.classes.dir}:\

Loading…
Cancel
Save