Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xj3D
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
Container Registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
Xj3D
Commits
360b1ef5
Commit
360b1ef5
authored
5 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
update.izpack.jar target, report izpack installer file sizes when complete
parent
408f6f66
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
buildInstallers.xml
+24
-13
24 additions, 13 deletions
buildInstallers.xml
with
24 additions
and
13 deletions
buildInstallers.xml
+
24
−
13
View file @
360b1ef5
...
...
@@ -43,21 +43,28 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-->
<property
name=
"installers.dir"
location=
"installers"
/>
<property
name=
"installers.dir"
location=
"installers"
/>
<!-- Prerequisite for creating installer: you must have local izPack v5+ installed -->
<property
file=
"nbproject/private/access.properties"
/>
<property
name=
"izpack-dist"
value=
"${IZPACK_DIST}"
description=
"local installation of latest distribution from http://izpack.org"
/>
<path
id=
"lib.path"
>
<fileset
dir=
"${izpack-dist}/lib"
includes=
"*.jar"
/>
</path>
<target
name=
"update.izpack.jar"
>
<echo
message=
"Prerequisite: apply .jar fix in installers/util/izpack-lang-fix in local $IZPACK_DIST .jar at"
/>
<echo
message=
" ${IZPACK_DIST}/lib/izpack-core-5.1.3.jar"
/>
<copy
file=
"installers/util/izpack-core-5.1.3.jar"
todir=
"${IZPACK_DIST}/lib/"
verbose=
"true"
force=
"true"
/>
</target>
<!-- Prerequisite for creating installer: you must have local izPack v5+ installed -->
<property
file=
"nbproject/private/access.properties"
/>
<property
name=
"izpack-dist"
value=
"${IZPACK_DIST}"
description=
"local installation of latest distribution from http://izpack.org"
/>
<path
id=
"lib.path"
>
<fileset
dir=
"${izpack-dist}/lib"
includes=
"*.jar"
/>
</path>
<taskdef
name=
"izpack"
<taskdef
name=
"izpack"
classpathref=
"lib.path"
classname=
"com.izforge.izpack.ant.IzPackTask"
/>
<target
name=
"build.installers"
<target
name=
"build.installers"
description=
"Build Xj3D installer jars"
depends=
"clean.installer
.material
s"
>
depends=
"clean.installers"
>
<!-- TODO validate the izPack XML files -->
...
...
@@ -108,13 +115,17 @@ POSSIBILITY OF SUCH DAMAGE.
<chmod
file=
"${installers.dir}/${win.linux.32.64.installer.jar}"
perm=
"ugo+rx"
/>
<chmod
file=
"${installers.dir}/${macosx.installer.jar}"
perm=
"ugo+rx"
/>
<length
file=
"${installers.dir}/${win.linux.32.64.installer.jar}"
property=
"length.win.linux.32.64.installer.jar"
/>
<length
file=
"${installers.dir}/${macosx.installer.jar}"
property=
"length.macosx.installer.jar"
/>
<echo
message=
"Installer file sizes: ${win.linux.32.64.installer.jar}=${length.win.linux.32.64.installer.jar} bytes, ${macosx.installer.jar}=${length.macosx.installer.jar} bytes"
/>
<echo/>
<echo
message=
"IzPack installer builds complete"
/>
</target>
<target
name=
"clean.installer
.material
s"
description=
"Clean up all
material
s generated
from
producing the installers"
>
<target
name=
"clean.installers"
description=
"Clean up all
executable
s generated
by
producing the installers"
>
<delete>
<fileset
dir=
"installers"
>
...
...
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