Le 25/11/2012 19:05, Jacques Le Roux a écrit :
Ha, while cleaning stuff, found also that the tuto does not recommend to 
"revert" the hello-world addon
And doing
adm uninstall org.ofbizextra-dev.hello-world
did not do it
You can run
 adm uninstall hello-world

the uninstall command analyse just the addon name not all path org.ofbizextra-dev.

Nicolas

Jacques

Jacques

From: "Jacques Le Roux" <jacques.le.r...@les7arts.com>
I did not follow this tuto only the one below
I had already diff installed and a patchDos.bat:
todos %1
patch -N -p0 < %1

Creating the recommended bat files worked, thanks!

When viewing the (long) result from
svn di framework\common\config\CommonUiLabels.xml > dropit.txt
I see encoding issues in dropit.txt, even when changing encoding in Scite to 
all possible values, normal? I guess it's an issues related to the platform?
All the rest worked fine :o)

Jacques

From: "Nicolas Malin" <malin.nico...@librenberry.net>
Thanks Jacques.

I test with the last OFBiz trunk with success.

Do you have the diff program installed properly ?
http://code.google.com/a/apache-extras.org/p/ofbiz-adm/wiki/admInstallation

Nicolas

Le 25/11/2012 11:59, Jacques Le Roux a écrit :
Thanks Nicolas,

I give it a try in Windows using for
$ alias adm="java -jar $(pwd)/addonmanager-20121027.jar"
doskey adm=java -jar addonmanager-20121027.jar $*
(see http://superuser.com/questions/49170/create-an-alias-in-windows-xp for 
more)

It worked well until

adm install org.ofbizextra-dev.hello-world
[INFO] addon manager version : 20121027
[INFO] Add-On Manager for D:\workspace\ofbizClean
:: loading settings :: file = D:\workspace\ofbizClean\.addons\ivysettings.xml
:: resolving dependencies :: org.ofbizextra-dev#targetAddon;1.0
          confs: [default]
          found org.ofbizextra-dev#hello-world;0.1.0.0-dev in libraries-dev
          [0.1.0.0-dev] org.ofbizextra-dev#hello-world;latest.integration
:: resolution report :: resolve 782ms :: artifacts dl 0ms
          ---------------------------------------------------------------------
          |                  |            modules            ||   artifacts   |
          |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
          ---------------------------------------------------------------------
          |      default     |   1   |   1   |   0   |   0   ||   1   |   0   |
          ---------------------------------------------------------------------
:: retrieving :: org.ofbizextra-dev#targetAddon
          confs: [default]
          0 artifacts copied, 1 already retrieved (0kB/16ms)
The dependencies will be installed in this order:
     hello-world                0.1.0.0-dev
Add-on hello-world registered
[INFO] Add-on hello-world unregistered
org.ofbizextra.addonmanager.core.patch.PatchException: Patch failed for File : 
framework\common\config\CommonUiLabels.xml
          at 
org.ofbizextra.addonmanager.core.registry.RegisteredAddOn.applyPatchs(RegisteredAddOn.java:353)
          at 
org.ofbizextra.addonmanager.core.registry.Registry.installAddOn(Registry.java:211)
          at 
org.ofbizextra.addonmanager.core.command.InstallAddOnCommand.doExecute(InstallAddOnCommand.java:54)
          at 
org.ofbizextra.addonmanager.core.AddOnManager.executeCommand(AddOnManager.java:407)
          at org.ofbizextra.addonmanager.cli.Cli.runCommand(Cli.java:119)
          at org.ofbizextra.addonmanager.cli.Cli.main(Cli.java:305)
org.ofbizextra.addonmanager.core.AddOnManagerException: Installation failed for 
: org.ofbizextra-dev.hello-world
          at 
org.ofbizextra.addonmanager.core.command.InstallAddOnCommand.doExecute(InstallAddOnCommand.java:98)
          at 
org.ofbizextra.addonmanager.core.AddOnManager.executeCommand(AddOnManager.java:407)
          at org.ofbizextra.addonmanager.cli.Cli.runCommand(Cli.java:119)
          at org.ofbizextra.addonmanager.cli.Cli.main(Cli.java:305)
[ERROR] Installation failed for : org.ofbizextra-dev.hello-world

Abort signal was received. Shutting down as gracefully as possible ...

I guess the addon is not upated regarding CommonUiLabels.xml (I added Japaned 
yesterday)?

Thanks

Jacques

From: "Malin Nicolas" <malin.nico...@librenberry.net>
Hello,

I put my talk did at ApacheCon Europe on the addons for OFBiz and create
a discovery scenario for an initiation in less than 15 minutes.

The Talk :
http://ofbiz-adm.apache-extras.org.codespot.com/files/ApacheConEurope-2012-addons-presentation-en.pdf
Discovery scenario :
http://code.google.com/a/apache-extras.org/p/ofbiz-adm/wiki/DiscoverAddonOn15Minutes

I open for all feedback

Nicolas

--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/


Reply via email to