Re: How to specify Windows file path for gradlew "ofbiz --load-data file=foo/bar/FileNameHere.xml"?

2017-12-27 Thread Aditya Sharma
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  by HotWax Systems




On Thu, Dec 28, 2017 at 8:38 AM, Mike  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
> >
>


Re: How to specify Windows file path for gradlew "ofbiz --load-data file=foo/bar/FileNameHere.xml"?

2017-12-27 Thread Mike
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 
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
>


How to specify Windows file path for gradlew "ofbiz --load-data file=foo/bar/FileNameHere.xml"?

2017-12-27 Thread Boyden, Timothy
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