Dear Gil,

Many thanks for your feedback.
However, I did try Gradlew “ofbiz �Cload-data readers=seed” and the newly 
created plugin didn’t show up.

And I check the files and find the newly created plugin files has been created.
IT JUST DOESN’T SHOW UP!

I know if I use Gradlew loadDefault and then it will show up but I just don’t 
want to mess up what I have done.
Any further hint?

Thanks
Schumann
发件人: Gil Portenseigne<mailto:gil.portensei...@nereide.fr>
发送时间: 2018年11月28日 4:37
收件人: user@ofbiz.apache.org<mailto:user@ofbiz.apache.org>
主题: Re: How to Create Plugin without loadDefault

Hello Schumann,

I believe what you are looking for is to load specific readers, to avoid
loading demo data.

./gradlew "ofbiz --load-data readers=seed"

This command will load all seed data, and thus security data of your
newly created plugin.

You could also use webtools webapp to load reader
(https://demo-stable.ofbiz.apache.org/webtools/control/EntityImportReaders)

Or directly the data files you want
(https://demo-stable.ofbiz.apache.org/webtools/control/EntityImport)

Enjoy !

Gil

Le mardi 27 nov. 2018 à 12:09:57 (+0000), Schumann Ye a écrit :
> Dear Gurus, dear Rishi, dear Jacques,
>
> I’ve got a quick and easy question for you guys.
> How can I create Plugin (as shown in step 1 below) but without running step 2 
> below in order to show the newly created plugin in our production environment?
> Step 1: gradlew createPlugin -PpluginId=quality
> Step 2: gradlew loadDefault
>
> As I follow the tutorial written by Jacques, it seems it’s a MUST to run step 
> 2 but I don’t want to mess up what I have done so far.
> Any hint?
>
> Many thanks and have a nice day!
> Schumann
> +86-18001501800
>

Reply via email to