Hi, I think relative path from the root should work. Try `gradlew "ofbiz --load-data file=/foo/bar/FileNameHere.xml" adding "/" at the beginning will point file from the root directory i.e. C: I guess.
It works for Ubuntu. HTH Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Commerce <http://www.hotwax.co/> by HotWax Systems <http://www.hotwaxsystems.com/> <https://www.linkedin.com/in/aditya-sharma-78291810a/> On Thu, Dec 28, 2017 at 8:38 AM, Mike <mz4whee...@gmail.com> wrote: > 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 < > tboy...@electroswitch.com> > 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 > > >