Thank you for testing and returns

I have added in the wiki page all return messages after each command to
to able to compare more easily.

But I have done all the test only on linux, I will ask to a more
technical guys (and one which have a windows platform) to do same test.

Some comment inline

Le 01/12/2012 11:29, Jacques Le Roux a écrit :
> Jacques Le Roux wrote:
>> Jacques Le Roux wrote:
>>> Hi Olivier,
>>>
>>> 1st thing, when using the doskey alias for the version I get this (not a 
>>> big deal, maybe doskey alias to improve?)
>>>
>>> D:\workspace\ofbiz addonmanage>adm -version
adm show help when it does'nt recognize the command
with adm version    (without the - ) it should be better
>>> [INFO] addon manager version : 20121027
>>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanage
>>> [INFO] Usage: java -jar org.ofbizextra.addonmanager.core.AddOnManager 
>>> [-ofbiz <ofbiz-location>]<loglevel level>  command [command
>>> args]
>>> [INFO]
>>> [INFO] Supported levels are :   INFO  ERROR  WARN  DEBUG  TRACE  ALL  FATAL 
>>>  OFF
>>> [INFO]
>>> [INFO] Supported Commands :
>>> [INFO]  - add-all-files [-d]
>>>     -> alias : aaf
>>> [INFO]  - add-directory [-f | -size X] <path>
>>> [INFO]  - add-file [-f ] [ -size X] [-d] <path> [<path> [...]]
>>>     -> alias : af
>>> [INFO]  - diff [-r | -R | -index | -size X] [*] <path> [<path> [<path> ...]]
>>> [INFO]  - help [command]
>>> [INFO]  - init [(-b |-branch) num-branch] [(-r | -repository) repositoryUrl]
>>> [INFO]  - install [-org <version>] [-v <version>] [--force-ivy-tree] 
>>> [--force-all] [--force-depen] [--force-patch] (addon-path |
>>> addon-name)
>>> [INFO]  - list [-head X | -work | -works | -m | -tree]
>>>     -> alias : l
>>>     ->         ll : -head X
>>>     ->         lw : -work
>>> [INFO]  - list-file  <addon name>
>>> [INFO]  - new-addon [-d addon-location] <addon-name>
>>> [INFO]  - remove-file <path> [<path> [...]]
>>>     -> alias : rf
>>> [INFO]  - revert [-r | -R] [-all] <path> [<path> [<path> ...]]
>>> [INFO]  - seal  <version>
>>> [INFO]  - status [-detail]
>>> [INFO]  - version
>>> [INFO]  - uninstall [--no-reload ] [--force-revert] <addon-name> 
>>> [<addon-name> [...]]
>>> [INFO]  - uninstall-all [--force-revert]
>>> [INFO]  - update-file [ -size X] [-d] <path> [<path> [...]]
>>>     -> alias : up
>>> [INFO]  - which-addon [-detail] <path>
>>>     -> alias : wa
>>>
>>> ----
>>>
>>> adm which-addon framework/common/config/CommonUiLabels.xml
>>> adm which-addon -detail framework/common/config/CommonUiLabels.xm
>>> gives me the same result (not sure it's normal)
>>> D:\workspace\ofbiz addonmanager>adm which-addon -detail 
>>> framework/common/config/CommonUiLabels.xml
>>> [INFO] addon manager version : 20121027
>>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>>> D:\workspace\ofbiz addonmanager>adm which-addon 
>>> framework/common/config/CommonUiLabels.xml
>>> [INFO] addon manager version : 20121027
>>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>>>
seem strange, seem like a environment without hello-world installed
>>> ----
>>>
>>> adm status
>>> I had some modifications locally ("ofbiz addonmanager" is copy of an 
>>> instance where I work on newhelp). I removed them to keep
>>> thing clear and hidden .addons.
>>> Svn st is OK, but I see all the deleted files marked as D by adm status, 
>>> normal?
>>> D:\workspace\ofbiz addonmanager>svn st
>>>  M      .
>>> ?       A00000
>>> ?       addonmanager-20121027.jar
>>> ?       dropit.diff
>>> M       framework\common\config\CommonUiLabels.xml
>>>
>>> ----
>>>
>>> I have sent you a copy of the dropit.diff (compressed with 7z) I created
>>> For memory here are some head lines, the problem is with
>>>
>>> -        <value xml:lang="hi-IN">लेखा पॿरापॿय</value>
>>> +        <value xml:lang="hi-IN">लेखा पॿरापॿय</value>
>>>
>>> which should not have been changed, of course there are tons of others, 
>>> alwasys related to UTF-8
probably a platform problem, we will try to find why.
>>> [INFO] addon manager version : 20121027
>>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>>> --- framework\common\config\CommonUiLabels.xml 
>>> (93931065e84819fddb2ba004c418bb65898798ca)
>>> +++ framework\common\config\CommonUiLabels.xml
>>> @@ -15,23 +15,16 @@
>>>      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>>>      KIND, either express or implied.  See the License for the
>>>      specific language governing permissions and limitations
>>>      under the License.
>>>  -->
>>>  <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>> -<!--#Bam# hello-world-->
>>> -    <property key="CommonHelloWorld">
>>> -        <value xml:lang="de">Hallo Welt !</value>
>>> -        <value xml:lang="en">Hello World !</value>
>>> -        <value xml:lang="fr">Salut tout le monde !</value>
>>> -        <value xml:lang="it">Ciao mondo !</value>
>>> -    </property>
>>> -<!--#Eam# hello-world-->
>>> -
>>> -
>>> -    <property key="AP">
>>> +    <property key="Beer">
>>> +        <value xml:lang="en">Beer, hmmmmm</value>
>>> +     </property>
>>> +     <property key="AP">
>>>          <value xml:lang="de">Kreditoren</value>
>>>          <value xml:lang="en">AP</value>
>>>          <value xml:lang="es">Compras</value>
>>>          <value xml:lang="fr">Cpt. fourn.</value>
>>>          <value xml:lang="hi-IN">लेखा देय</value>
>>>          <value xml:lang="it">AP</value>
>>> @@ -44,13 +37,13 @@
>>>      </property>
>>>      <property key="AR">
>>>          <value xml:lang="de">Debitoren</value>
>>>          <value xml:lang="en">AR</value>
>>>          <value xml:lang="es">Ventas</value>
>>>          <value xml:lang="fr">Cpt. clients</value>
>>> -        <value xml:lang="hi-IN">लेखा पॿरापॿय</value>
>>> +        <value xml:lang="hi-IN">लेखा पॿरापॿय</value>
>>>          <value xml:lang="it">AR</value>
>>>          <value xml:lang="ja">売掛(AR)</value>
>>>          <value xml:lang="nl">Vorderingen</value>
>>>          <value xml:lang="pt-BR">Contas a receber</value>
>>>          <value xml:lang="vi">Khoản Thu (AR)</value>
>>>          <value xml:lang="zh">应收账户</value>
>>>
>>> HTH
>>>
>>> Jacques
>>>
>>> From: "olivier Heintz" <[email protected]>
>>>> Le 25/11/2012 19:00, Jacques Le Roux a écrit :
>>>>> 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?
>>>> it's not a know issue, can you send the dropit.txt file
>>>>> All the rest worked fine :o)
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Nicolas Malin" <[email protected]>
>>>>>> 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" <[email protected]>
>>>>>>>> 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
>> Ha also,
>>
>> D:\workspace\ofbiz addonmanager>adm uninstall demonstration
>> [INFO] addon manager version : 20121027
>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>>
>> Does not seem to uninstall anything, when I do after
>> D:\workspace\ofbiz addonmanager>adm diff 
>> framework/common/config/CommonUiLabels.xml > dropit
>> and compare with dropit.diff, they are same
>>
>> And when I tried again  adm install .addons/demonstration, I got this
>>
>> D:\workspace\ofbiz addonmanager>adm install .addons/demonstration
on windows ( \ and not / ), so I suppose it should be
adm install .addons\demonstration
>> [INFO] addon manager version : 20121027
>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>>>> loading settings :: file = D:\workspace\ofbiz 
>>>> addonmanager\.addons\ivysettings.xml
>>>> resolving dependencies :: #targetAddon;1.0
>>         confs: [default]
>>>> resolution report :: resolve 734ms :: artifacts dl 0ms
>>         ---------------------------------------------------------------------
>>         |                  |            modules            ||   artifacts   |
>>         |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>>         ---------------------------------------------------------------------
>>         |      default     |   1   |   0   |   0   |   0   ||   0   |   0   |
>>         ---------------------------------------------------------------------
>>
>>>> problems summary ::
>>>>>> WARNINGS
>>                 module not found: #addons\demonstration;latest.integration
>>
>>         ==== libraries: tried
>>
>>           
>> http://addons.ofbizextra.org/addons/addons\demonstration/[revision]/ivy.xml
>>
>>           -- artifact 
>> #addons\demonstration;latest.integration!addons\demonstration.jar:
>>
>>           
>> http://addons.ofbizextra.org/addons/addons\demonstration/[revision]/addons\demonstration-[revision].zip
>>
>>         ==== libraries-incubator: tried
>>
>>           
>> http://addons.ofbizextra.org/addons-incubator/addons\demonstration/[revision]/ivy.xml
>>
>>           -- artifact 
>> #addons\demonstration;latest.integration!addons\demonstration.jar:
>>
>>           
>> http://addons.ofbizextra.org/addons-incubator/addons\demonstration/[revision]/addons\demonstration-[revision].zip
>>
>>         ==== libraries-dev: tried
>>
>>           
>> http://addons.ofbizextra.org/addons-dev/addons\demonstration/[revision]/ivy.xml
>>
>>           -- artifact 
>> #addons\demonstration;latest.integration!addons\demonstration.jar:
>>
>>           
>> http://addons.ofbizextra.org/addons-dev/addons\demonstration/[revision]/addons\demonstration-[revision].zip
>>
>>                 ::::::::::::::::::::::::::::::::::::::::::::::
>>
>>                 ::          UNRESOLVED DEPENDENCIES         ::
>>
>>                 ::::::::::::::::::::::::::::::::::::::::::::::
>>
>>                 :: #addons\demonstration;latest.integration: not found
>>
>>                 ::::::::::::::::::::::::::::::::::::::::::::::
>>
>>
>>
>>>> USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>> org.ofbizextra.addonmanager.core.AddOnManagerException: unresolved 
>> dependency: #addons\demonstration;latest.integration: not found
>>         at 
>> org.ofbizextra.addonmanager.core.DependencyMgr.resolve(DependencyMgr.java:238)
>>         at 
>> org.ofbizextra.addonmanager.core.DependencyMgr.retreiveDependencies(DependencyMgr.java:210)
>>         at 
>> org.ofbizextra.addonmanager.core.command.InstallAddOnCommand.doExecute(InstallAddOnCommand.java:48)
>>         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 : .addons\demonstration
>>         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 : .addons\demonstration
>>
>> Abort signal was received. Shutting down as gracefully as possible ...
>>
>> Then I used again
>> D:\workspace\ofbiz addonmanager>adm new-addon demonstration
>> [INFO] addon manager version : 20121027
>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>> Add-on demonstration registered
>>
>> and all the rest worked
>>
>> D:\workspace\ofbiz addonmanager>adm uninstall demonstration
>> [INFO] addon manager version : 20121027
>> [INFO] Add-On Manager for D:\workspace\ofbiz addonmanager
>> [INFO] Add-on demonstration unregistered
>>
>> I think I re-did one cmd in the middle, but I can't remember surely which
>>
>> Jacques
> Ha forgot that some A0000* files were created
never see files like this, can you send me one.
> D:\workspace\ofbiz addonmanager>svn st
>  M      .
> ?       A00000
> ?       A00001
> ?       A00002
> ?       A00003
> ?       addonmanager-20121027.jar
> ?       dropit
> ?       dropit.7z
> ?       dropit.diff
> M       framework\common\config\CommonUiLabels.xml
>
> Jacques
olivier

Reply via email to