Once again I'll replay this: you don't need gwt-user and any of it's
dependencies under OSGi because you don't run hosted mode in the Karaf
and after build you should have just html/css/javascript resources
packaged as a WAR ready to launch. No need to deploy JAR containing
your client project binaries which are not used in runtime at all..

Best regards,
Lukasz
--
[email protected]
Twitter: ldywicki
Blog: http://dywicki.pl
Code-House - http://code-house.org

2014-06-24 8:13 GMT+02:00 Jean-Baptiste Onofré <[email protected]>:
> Hi,
>
> ouoh ouoh:
>
> 1/ the tutorial is no more up to date in terms of bundle version (2011 !!)
> 2/ The json bundle has been release. You can use:
> install -s
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20090211_1
> 2/ The json-lib bundle doesn't start probably due to a missing dependency
> (take a look in the log)
> 3/ I released GWT bundles: you have gwt-dev 2.4.0_1 and 2.6.0_1, but also
> gwt-servlet 2.6.0_1, gwt-user 2.4.0_1 and 2.6.0_1. Use these releases
> instead of the SNAPSHOTs.
> 4/ feature:repo-add
> https://repository.apache.org/content/repositories/snapshots/ is not
> correct. The SNAPSHOT repository is already part of
> etc/org.ops4j.pax.url.mvn.cfg. The feature:repo-add command expect a feature
> XML.
>
> Regards
> JB
>
> On 06/24/2014 07:10 AM, parker wrote:
>>
>> Hi,
>>
>> I would like to use Karaf with GWT , can you recommend to me a tutorial
>> with
>> GWT who is working well ?
>>
>>
>> I try to do this tutorial :
>>
>> http://cmoulliard.blogspot.fr/2011/12/run-google-web-toolkit-2-project-on.html
>>
>> but I have these errors :
>>
>> karaf@root()> install -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsr305/1.3.9_1
>> Bundle ID: 206
>> karaf@root()> install -s
>>
>> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr303-api-1.0.0/1.9.0
>> Bundle ID: 207
>> karaf@root()> install -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20090211_1-SNAPSHOT
>> Bundle IDs:
>> Error executing command: Error installing bundles:
>>          Unable to install bundle
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20090211_1-SNAPSHOT
>> karaf@root()>  install -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> Bundle ID: 209
>> Error executing command: Error installing bundles:
>>          Unable to start bundle
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> karaf@root()>  install -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> Bundle ID: 209
>> Error executing command: Error installing bundles:
>>          Unable to start bundle
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> karaf@root()>
>> karaf@root()>
>> karaf@root()> install -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.gwt-dev/2.4.0_1-SNAPSHOT
>> Bundle IDs:
>> Error executing command: Error installing bundles:
>>          Unable to install bundle
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.gwt-dev/2.4.0_1-SNAPSHOT
>> karaf@root()> uninstall -s
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> Error executing command bundle:uninstall: undefined option -s
>> Try <command> --help' for more information.
>> karaf@root()> uninstall
>>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
>> No bundles specified.
>> karaf@root()>
>> karaf@root()> feature:repo-add
>> https://repository.apache.org/content/repositories/snapshots/
>> Adding feature url
>> https://repository.apache.org/content/repositories/snapshots/
>> [Fatal Error] :11:5: The element type "link" must be terminated by the
>> matching end-tag "</link>".
>> Error executing command: The element type "link" must be terminated by the
>> matching end-tag "</link>".
>> karaf@root()> feature:repo-add
>> https://repository.apache.org/content/repositories/snapshots
>> Adding feature url
>> https://repository.apache.org/content/repositories/snapshots
>> [Fatal Error] :-1:-1: Premature end of file.
>> Error executing command: Premature end of file.
>>
>>
>>
>> Thank you for your advice and help,
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/karaf-with-gwt-tp4033721.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to