Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
d8e89260
Commit
d8e89260
authored
Aug 05, 2014
by
Shawn Debnath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the custom lib directory as compile time dependency.
parent
884072b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
build.xml
build/build.xml
+17
-12
No files found.
build/build.xml
View file @
d8e89260
...
@@ -148,6 +148,10 @@
...
@@ -148,6 +148,10 @@
<fileset
dir=
"${lib.web.dir}"
includes=
"*.jar"
/>
<fileset
dir=
"${lib.web.dir}"
includes=
"*.jar"
/>
</path>
</path>
<path
id=
"custom.dependencies"
>
<fileset
dir=
"${overlay.lib.dir}"
includes=
"*.jar"
/>
</path>
<path
id=
"test.dependencies"
>
<path
id=
"test.dependencies"
>
<path
refid=
"compile.dependencies"
/>
<path
refid=
"compile.dependencies"
/>
<fileset
dir=
"${jar.dest.dir}"
includes=
"openfire.jar"
/>
<fileset
dir=
"${jar.dest.dir}"
includes=
"openfire.jar"
/>
...
@@ -280,6 +284,18 @@
...
@@ -280,6 +284,18 @@
</classpath>
</classpath>
</of.javac>
</of.javac>
<available
file=
"${overlay.lib.dir}"
type=
"dir"
property=
"overlay.lib.found"
/>
<if>
<equals
arg1=
"${overlay.lib.found}"
arg2=
"true"
/>
<then>
<mkdir
dir=
"${jar.dest.dir}"
/>
<copy
todir=
"${jar.dest.dir}"
overwrite=
"true"
>
<fileset
dir=
"${overlay.lib.dir}"
includes=
"*.*"
/>
</copy>
</then>
<else><echo>
No custom lib here
</echo></else>
</if>
<available
file=
"${overlay.src.dir}"
type=
"dir"
property=
"overlay.source.found"
/>
<available
file=
"${overlay.src.dir}"
type=
"dir"
property=
"overlay.source.found"
/>
<if>
<if>
<equals
arg1=
"${overlay.source.found}"
arg2=
"true"
/>
<equals
arg1=
"${overlay.source.found}"
arg2=
"true"
/>
...
@@ -293,6 +309,7 @@
...
@@ -293,6 +309,7 @@
<src
path=
"${overlay.src.dir}"
/>
<src
path=
"${overlay.src.dir}"
/>
<patternset
refid=
"compile.sources"
/>
<patternset
refid=
"compile.sources"
/>
<classpath>
<classpath>
<path
refid=
"custom.dependencies"
/>
<path
refid=
"compile.dependencies"
/>
<path
refid=
"compile.dependencies"
/>
<path
location=
"${compile.dir}"
/>
<path
location=
"${compile.dir}"
/>
</classpath>
</classpath>
...
@@ -301,18 +318,6 @@
...
@@ -301,18 +318,6 @@
</then>
</then>
<else><echo>
Nothing to compile from custom here
</echo></else>
<else><echo>
Nothing to compile from custom here
</echo></else>
</if>
</if>
<available
file=
"${overlay.lib.dir}"
type=
"dir"
property=
"overlay.lib.found"
/>
<if>
<equals
arg1=
"${overlay.lib.found}"
arg2=
"true"
/>
<then>
<mkdir
dir=
"${jar.dest.dir}"
/>
<copy
todir=
"${jar.dest.dir}"
overwrite=
"true"
>
<fileset
dir=
"${overlay.lib.dir}"
includes=
"*.*"
/>
</copy>
</then>
<else><echo>
No custom lib here
</echo></else>
</if>
</target>
</target>
<!-- i18n ================================================================================== -->
<!-- i18n ================================================================================== -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment