Open yurivict opened 3 years ago
Not all the required jars are listed in lightcrafts/ivy.xml
because, for instance, ivy automatically downloads ejml-core
as a dependency of the ejml-simple
.
The easiest way to get all the jars would be ant -f lightcrafts/build.xml resolve
on a machine connected to the Internet, then copy lightcrafts/lib/*.jar
to another machine.
EDIT: You need not to copy *-javadoc.jar
and *-sources.jar
.
@yurivict If this issue is already fixed, please close it by yourself. I don't have permission here.
@ktgw0316
I am not able to build lightzone-4.2.4 without internet access.
The ant argument -Doffline=true
doesn't seem to matter for some reason.
All same JARs places into lightcrafts/lib/ aren't recognized and it still fails on internet access.
@yurivict
Please use -Dno-ivy=true
instead of -Doffline=true
since v4.2.4. Sorry, I should mention this change in build instructions.
With -Dno-ivy=true
it fails like this:
===> Building for lightzone-4.2.4
Buildfile: /disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/linux/build.xml
common:
resolve-submodule:
clean-lib:
[exec] Removing lib/
download-ivy:
init-ivy:
BUILD FAILED
/disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/linux/build.xml:37: The following error occurred while executing this line:
/disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/lightcrafts/build.xml:72: /disk-samsung/freebsd-ports/graphics/lightzone/work/LightZone-4.2.4/lightcrafts/lib does not exist.
Total time: 0 seconds
*** Error code 1
@yurivict
Please check if c9aa0ac works. Note that all the required jars must be exist under lightcrafts/dependencies/
(not under lightcrafts/lib/
) before you execute the ant -Dno-ivy=true
.
To download the required jars, you can use git submodule update
command while network access is available.
@yurivict
Please check if c9aa0ac works. Note that all the required jars must be exist under lightcrafts/dependencies/
(not under lightcrafts/lib/
) before you execute the ant -Dno-ivy=true
.
To download the required jars, you can use git submodule update
command while network access is available.
Version 4.2.2 fails in offline mode:
All required jars (same as downloaded w/out the offline mode) are present:
OS: FreeBSD 12.2 Java 11 This is needed for package build that isn't allowed to access internet.
Source is taken from the GItHub account ktgw0316 project LightZone.