Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
239ab66c
Commit
239ab66c
authored
12 years ago
by
Rich Lane
Browse files
Options
Downloads
Patches
Plain Diff
simplify build by removing packetstreamer jar
parent
cbe5e10b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.xml
+3
-36
3 additions, 36 deletions
build.xml
with
3 additions
and
36 deletions
build.xml
+
3
−
36
View file @
239ab66c
...
@@ -39,12 +39,10 @@
...
@@ -39,12 +39,10 @@
<property
name=
"python-src"
location=
"src/main/python"
/>
<property
name=
"python-src"
location=
"src/main/python"
/>
<property
name=
"docs"
location=
"${target}/docs"
/>
<property
name=
"docs"
location=
"${target}/docs"
/>
<property
name=
"main-class"
value=
"net.floodlightcontroller.core.Main"
/>
<property
name=
"main-class"
value=
"net.floodlightcontroller.core.Main"
/>
<property
name=
"packetstreamer-thrift-jar"
value=
"packetstreamer-thrift.jar"
/>
<property
name=
"floodlight-jar"
location=
"${target}/floodlight.jar"
/>
<property
name=
"floodlight-jar"
location=
"${target}/floodlight.jar"
/>
<property
name=
"floodlight-test-jar"
location=
"${target}/floodlight-test.jar"
/>
<property
name=
"floodlight-test-jar"
location=
"${target}/floodlight-test.jar"
/>
<property
name=
"thrift.dir"
value=
"${basedir}/src/main/thrift"
/>
<property
name=
"thrift.dir"
value=
"${basedir}/src/main/thrift"
/>
<property
name=
"thrift.out.dir"
value=
"lib/gen-java"
/>
<property
name=
"thrift.out.dir"
value=
"lib/gen-java"
/>
<property
name=
"thrift.bin.dir"
value=
"${target}/gen-java-bin"
/>
<property
name=
"thrift.package"
value=
"net/floodlightcontroller/packetstreamer/thrift"
/>
<property
name=
"thrift.package"
value=
"net/floodlightcontroller/packetstreamer/thrift"
/>
<property
name=
"ant.build.javac.source"
value=
"1.6"
/>
<property
name=
"ant.build.javac.source"
value=
"1.6"
/>
<property
name=
"ant.build.javac.target"
value=
"1.6"
/>
<property
name=
"ant.build.javac.target"
value=
"1.6"
/>
...
@@ -68,17 +66,11 @@
...
@@ -68,17 +66,11 @@
<include
name=
"jython-2.5.2.jar"
/>
<include
name=
"jython-2.5.2.jar"
/>
<include
name=
"libthrift-0.7.0.jar"
/>
<include
name=
"libthrift-0.7.0.jar"
/>
</patternset>
</patternset>
<patternset
id=
"genlib"
>
<include
name=
"${packetstreamer-thrift-jar}"
/>
</patternset>
<path
id=
"classpath"
>
<path
id=
"classpath"
>
<fileset
dir=
"${lib}"
>
<fileset
dir=
"${lib}"
>
<patternset
refid=
"lib"
/>
<patternset
refid=
"lib"
/>
</fileset>
</fileset>
<fileset
dir=
"${target}/lib"
>
<patternset
refid=
"genlib"
/>
</fileset>
</path>
</path>
<patternset
id=
"lib-cobertura"
>
<patternset
id=
"lib-cobertura"
>
...
@@ -104,9 +96,6 @@
...
@@ -104,9 +96,6 @@
<patternset
refid=
"lib-cobertura"
/>
<patternset
refid=
"lib-cobertura"
/>
<patternset
refid=
"lib"
/>
<patternset
refid=
"lib"
/>
</fileset>
</fileset>
<fileset
dir=
"${target}/lib"
>
<patternset
refid=
"genlib"
/>
</fileset>
</path>
</path>
<target
name=
"init"
>
<target
name=
"init"
>
...
@@ -114,15 +103,14 @@
...
@@ -114,15 +103,14 @@
<mkdir
dir=
"${build-test}"
/>
<mkdir
dir=
"${build-test}"
/>
<mkdir
dir=
"${target}/lib"
/>
<mkdir
dir=
"${target}/lib"
/>
<mkdir
dir=
"${thrift.out.dir}"
/>
<mkdir
dir=
"${thrift.out.dir}"
/>
<mkdir
dir=
"${thrift.bin.dir}"
/>
<mkdir
dir=
"${test-output}"
/>
<mkdir
dir=
"${test-output}"
/>
</target>
</target>
<target
name=
"compile"
depends=
"init,
packetstreamer
-thrift"
>
<target
name=
"compile"
depends=
"init,
gen
-thrift"
>
<javac
includeAntRuntime=
"false"
<javac
includeAntRuntime=
"false"
classpathref=
"classpath"
classpathref=
"classpath"
debug=
"true"
debug=
"true"
srcdir=
"${source}:${thrift.
bin
.dir}"
srcdir=
"${source}:${thrift.
out
.dir}"
destdir=
"${build}"
>
destdir=
"${build}"
>
</javac>
</javac>
</target>
</target>
...
@@ -165,18 +153,6 @@
...
@@ -165,18 +153,6 @@
</exec>
</exec>
</target>
</target>
<target
name=
"compile-thrift"
depends=
"init,gen-thrift"
>
<javac
srcdir=
"${thrift.out.dir}"
includeantruntime=
"false"
destdir=
"${thrift.bin.dir}"
debug=
"true"
debuglevel=
"lines,vars,source"
classpathref=
"classpath"
/>
</target>
<target
name=
"packetstreamer-thrift"
depends=
"compile-thrift"
>
<jar
jarfile=
"${target}/lib/${packetstreamer-thrift-jar}"
basedir=
"${thrift.bin.dir}"
/>
</target>
<target
name=
"clean"
>
<target
name=
"clean"
>
<delete
dir=
"${target}"
/>
<delete
dir=
"${target}"
/>
</target>
</target>
...
@@ -253,9 +229,6 @@
...
@@ -253,9 +229,6 @@
<zipgroupfileset
dir=
"${lib}"
>
<zipgroupfileset
dir=
"${lib}"
>
<patternset
refid=
"lib"
/>
<patternset
refid=
"lib"
/>
</zipgroupfileset>
</zipgroupfileset>
<zipgroupfileset
dir=
"${target}/lib"
>
<patternset
refid=
"genlib"
/>
</zipgroupfileset>
</jar>
</jar>
<jar
destfile=
"${floodlight-test-jar}"
filesetmanifest=
"mergewithoutmain"
>
<jar
destfile=
"${floodlight-test-jar}"
filesetmanifest=
"mergewithoutmain"
>
<manifest>
<manifest>
...
@@ -267,9 +240,6 @@
...
@@ -267,9 +240,6 @@
<patternset
refid=
"lib-test"
/>
<patternset
refid=
"lib-test"
/>
<patternset
refid=
"lib-cobertura"
/>
<patternset
refid=
"lib-cobertura"
/>
</zipgroupfileset>
</zipgroupfileset>
<zipgroupfileset
dir=
"${target}/lib"
>
<patternset
refid=
"genlib"
/>
</zipgroupfileset>
</jar>
</jar>
</target>
</target>
...
@@ -291,16 +261,13 @@
...
@@ -291,16 +261,13 @@
version=
"true"
/>
version=
"true"
/>
</target>
</target>
<target
name=
"eclipse"
depends=
"init,
packetstreamer
-thrift"
>
<target
name=
"eclipse"
depends=
"init,
gen
-thrift"
>
<pathconvert
property=
"eclipse-lib"
>
<pathconvert
property=
"eclipse-lib"
>
<map
from=
"${basedir}/"
to=
""
/>
<map
from=
"${basedir}/"
to=
""
/>
<fileset
dir=
"${lib}"
>
<fileset
dir=
"${lib}"
>
<patternset
refid=
"lib"
/>
<patternset
refid=
"lib"
/>
<patternset
refid=
"lib-test"
/>
<patternset
refid=
"lib-test"
/>
</fileset>
</fileset>
<fileset
dir=
"${target}/lib"
>
<patternset
refid=
"genlib"
/>
</fileset>
</pathconvert>
</pathconvert>
<exec
executable=
"${basedir}/setup-eclipse.sh"
>
<exec
executable=
"${basedir}/setup-eclipse.sh"
>
<arg
value=
"${main-class}"
/>
<arg
value=
"${main-class}"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment