Skip gradlew or ant by calling java directly. No sense loading a bunch of
junk prior to loading. The below gets right down to business and just
loads the XML.
Here is an example, which may require tweaking for 16.x... The below is
what I use for 13.04.
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xms128M -Xmx2048M
-XX:MaxPermSize=1024M -jar /opt/ofbiz/ofbiz.jar load-data delegator=default
file=FILE2LOAD.xml
On Wed, Dec 27, 2017 at 1:17 PM, Boyden, Timothy <
[hidden email]>
wrote:
> How do you specify a Windows file path for command line command `gradlew
> "ofbiz --load-data file=foo/bar/FileNameHere.xml"`?
>
> I put C:\SomePath\SomeFile.xml and the command errored with: Project
> 'ofbiz --load-data file=C' not found in root project 'ofbiz'.
>
> Thanks,
>
> Tim
>