ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Mallah <mallah.raj...@gmail.com>
Subject Re: Easiest way to load entity data in XML from cmdline
Date Mon, 11 Feb 2019 11:57:21 GMT
Hi Aditya  ,

with the stable release , it does work and I am benefiting from it.
you may kindly change the example in the wiki (and add a note about the lc).
Its indeed the simplest way to load entity data.

Regds
mallah.




On Mon, Feb 11, 2019 at 5:00 PM Aditya Sharma <
aditya.sharma@hotwaxsystems.com> wrote:

> Indeed Rajesh. All files names get converted to lowercase while processing
> so files with uppercase/camel/pascal case don't work. I will look further.
>
> I also noticed that it no longer works for Trunk with Gradle 5 & fails with
> following error:
> The task name 'ofbiz --load-data
> file=applications/party/data/PartyTypeData.xml' must not contain any of the
> following characters: [/, \, :, <, >, ", ?, *, |].
>
> Thanks and Regards,
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Systems <http://www.hotwaxsystems.com/>
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>
>
>
>
> On Mon, Feb 11, 2019 at 11:21 AM Rajesh Mallah <mallah.rajesh@gmail.com>
> wrote:
>
> > Hi Aditya ,
> >
> > Thanks for the updating the docs ,
> > but For some reason the filename MYDATA.xml did not work for me
> > I had to change it to mydata.xml
> > is it supposed to be like this?
> >
> > >> gradlew "ofbiz --load-data file=data/MyImportData.xml
> > <https://cwiki.apache.org/confluence/display/OFBIZ/MyImportData.xml>"
> >
> > I am not sure if the MixedCase would work.
> >
> > Regds
> > Mallah.
> >
> >
> >
> >
> >
> > On Mon, Feb 11, 2019 at 10:50 AM Aditya Sharma <
> > aditya.sharma@hotwaxsystems.com> wrote:
> >
> > > Thanks, Rajesh, Rohit, and Francisco.
> > >
> > > I have updated the info.
> > >
> > > Thanks and Regards,
> > > Aditya Sharma
> > >
> > > On Mon, Feb 11, 2019 at 10:23 AM Rajesh Mallah <
> mallah.rajesh@gmail.com>
> > > wrote:
> > >
> > > > Dear Rohit / Francisco ,
> > > >
> > > > Thanks to both of you.
> > > >
> > > > I wanted to update with this info the below URL:
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Handling+of+External+data
> > > >
> > > > but my confluence credentials not working at this moment.
> > > >
> > > >
> > > > regds
> > > > mallah.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, Feb 11, 2019 at 8:43 AM Rohit Koushal <
> > > > rohit.koushal@hotwaxsystems.com> wrote:
> > > >
> > > > > Addition to the above reply, if you have multiple files then put
> them
> > > in
> > > > a
> > > > > directory and run below command
> > > > >
> > > > > `gradlew "ofbiz --load-data dir=[path]"`
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Feb 11, 2019 at 3:44 AM Blurbiness Info <
> info@blurbiness.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Dear Rajesh,
> > > > > >
> > > > > > You could use:
> > > > > >
> > > > > > gradlew "ofbiz --load-data file=foo/bar/FileNameHere.xml"
> > > > > >
> > > > > > For any doubth about ofbiz command line options, the most useful
> > > > > > documentation source is the ofbiz/readme.md file.
> > > > > >
> > > > > > Best regards,
> > > > > >
> > > > > > Francisco
> > > > > >
> > > > > >
> > > > > > El dom., 10 feb. 2019 a las 21:00, Rajesh Mallah (<
> > > > > mallah.rajesh@gmail.com
> > > > > > >)
> > > > > > escribió:
> > > > > >
> > > > > > > Dear List ,
> > > > > > >
> > > > > > > While importing data from external systems, i am creating
XML
> > files
> > > > > > > having content like below.
> > > > > > >
> > > > > > > DemoData.xml
> > > > > > > ============
> > > > > > > <entity-engine-xml>
> > > > > > > ......
> > > > > > > entity data here ...
> > > > > > > ......
> > > > > > > </entity-engine-xml>
> > > > > > >
> > > > > > > What is the simple command that can be executed on shell
to
> load
> > > > > > > the data from such files into OFBiz.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > regds
> > > > > > > mallah.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > > *Blurbiness*
> > > > > > Producción multimedia para su negocio
> > > > > > *www.blurbiness.com* <http://www.blurbiness.com>
> > > > > >
> > > > >
> > > > >
> > > > > ----------------------------
> > > > > Thanks and Regards
> > > > > Rohit Koushal
> > > > > Sr. Enterprise Software Engineer
> > > > > Hotwax Systems
> > > > > www.hotwaxsystems.com
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message