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
f7dec65b
Commit
f7dec65b
authored
Sep 29, 2015
by
Guus der Kinderen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #295 from guusdk/OF-948
OF-948: Overlay should allow modification of /src/resources
parents
0106ecfc
8470cbcd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
build.xml
build/build.xml
+9
-1
overlay.html
documentation/docs/overlay.html
+11
-0
No files found.
build/build.xml
View file @
f7dec65b
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
<property
name=
"overlay.lib.dir"
value=
"${overlay.dir}/lib"
/>
<property
name=
"overlay.lib.dir"
value=
"${overlay.dir}/lib"
/>
<property
name=
"overlay.conf.dir"
value=
"${overlay.dir}/conf"
/>
<property
name=
"overlay.conf.dir"
value=
"${overlay.dir}/conf"
/>
<property
name=
"overlay.i18n.dir"
value=
"${overlay.dir}/i18n"
/>
<property
name=
"overlay.i18n.dir"
value=
"${overlay.dir}/i18n"
/>
<property
name=
"overlay.resources.dir"
value=
"${overlay.dir}/resources"
/>
<property
name=
"overlay.compile.dir"
value=
"${work.dir}/overlay/classes"
/>
<property
name=
"overlay.compile.dir"
value=
"${work.dir}/overlay/classes"
/>
<property
name=
"javadoc.src.dir"
value=
"${src.dir}/javadoc"
/>
<property
name=
"javadoc.src.dir"
value=
"${src.dir}/javadoc"
/>
...
@@ -154,6 +155,7 @@
...
@@ -154,6 +155,7 @@
<available
type=
"dir"
file=
"${overlay.lib.dir}"
property=
"overlay.lib.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.lib.dir}"
property=
"overlay.lib.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.conf.dir}"
property=
"overlay.conf.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.conf.dir}"
property=
"overlay.conf.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.i18n.dir}"
property=
"overlay.i18n.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.i18n.dir}"
property=
"overlay.i18n.dir.found"
/>
<available
type=
"dir"
file=
"${overlay.resources.dir}"
property=
"overlay.resources.dir.found"
/>
<!-- When overlay is used the content of "lib.merge.dir" needs to be combined with the content of "overlay.lib.dir"
<!-- When overlay is used the content of "lib.merge.dir" needs to be combined with the content of "overlay.lib.dir"
Here, "libs.to.merge" is created which will always refer to the correct combination. "libs.to.merge" should be
Here, "libs.to.merge" is created which will always refer to the correct combination. "libs.to.merge" should be
...
@@ -420,6 +422,7 @@
...
@@ -420,6 +422,7 @@
<jar
jarfile=
"${jar.dest.dir}/${jar.name}"
index=
"true"
duplicate=
"preserve"
>
<jar
jarfile=
"${jar.dest.dir}/${jar.name}"
index=
"true"
duplicate=
"preserve"
>
<fileset
dir=
"${compile.dir}"
includes=
"**/*.class"
excludes=
"org/jivesoftware/openfire/starter/ServerStarter*.class,org/jivesoftware/openfire/launcher/*.class"
/>
<fileset
dir=
"${compile.dir}"
includes=
"**/*.class"
excludes=
"org/jivesoftware/openfire/starter/ServerStarter*.class,org/jivesoftware/openfire/launcher/*.class"
/>
<fileset
dir=
"${target.i18n.dir}"
includes=
"*.properties"
/>
<fileset
dir=
"${target.i18n.dir}"
includes=
"*.properties"
/>
<fileset
dir=
"${overlay.resources.dir}/jar"
includes=
"**"
erroronmissingdir=
"false"
/>
<fileset
dir=
"${resources.dir}/jar"
includes=
"**"
/>
<fileset
dir=
"${resources.dir}/jar"
includes=
"**"
/>
<archives>
<archives>
<zips>
<zips>
...
@@ -711,7 +714,12 @@
...
@@ -711,7 +714,12 @@
<!-- Copy native authentication files -->
<!-- Copy native authentication files -->
<copy
todir=
"${target.openfireHome}/resources"
>
<copy
todir=
"${target.openfireHome}/resources"
>
<fileset
dir=
"${src.dir}/resources"
>
<fileset
dir=
"${resources.dir}"
>
<include
name=
"nativeAuth/**"
/>
</fileset>
</copy>
<copy
todir=
"${target.openfireHome}/resources"
>
<fileset
dir=
"${overlay.resources.dir}"
erroronmissingdir=
"false"
>
<include
name=
"nativeAuth/**"
/>
<include
name=
"nativeAuth/**"
/>
</fileset>
</fileset>
</copy>
</copy>
...
...
documentation/docs/overlay.html
View file @
f7dec65b
...
@@ -69,6 +69,17 @@
...
@@ -69,6 +69,17 @@
<tt>
custom/webapp
</tt>
.
<tt>
custom/webapp
</tt>
.
</p>
</p>
<p>
In the
<tt>
custom/resources/jar
</tt>
directory, mirror the contents of the
<tt>
src/resources/jar
</tt>
directory. Any files you place there will override the current source files in the build. These files will
be placed in the root of the generated Openfire.jar file.
</p>
<p>
In the
<tt>
custom/resources/nativeAuth
</tt>
directory, mirror the contents of the
<tt>
src/resources/nativeAuth
</tt>
directory. Any files you place there will override the current source files in the build.
</p>
<p>
<p>
Currently, overridden files will simply be included in the built war or jar files. We have not added
Currently, overridden files will simply be included in the built war or jar files. We have not added
functionality to bundle these changes in a separate jar file.
functionality to bundle these changes in a separate jar file.
...
...
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