No problem. The fix is not released as yet. You need to build the tool yourself by following the instructions: 1. check out the trunk: http://aries.apache.org/development/buildingaries.html 2. build the tool: http://aries.apache.org/documentation/tools/repositoryGenerator.html Regards Emily
On Thu, Aug 18, 2011 at 2:00 AM, Matt Madhavan <[email protected]>wrote: > Cool! Thx Emily > On Aug 17, 2011 5:53 PM, "Emily Jiang" <[email protected]> wrote: > > plus, you don't need to create a jira any more as I have done so. > > > > On Wed, Aug 17, 2011 at 11:51 PM, Emily Jiang <[email protected] > >wrote: > > > >> You need to sign up with JIRA in order to raise a bug. > >> > >> For more information on JIRA, see: > http://www.atlassian.com/software/jira > >> For creating Aries bug, see https://issues.apache.org/jira/browse/ARIES > . > >> > >> For your 2nd question, it is difficult to create a repository xml > without > >> using this tool:o. The good news is that I think I have now fixed up the > >> problem. > >> > >> Regards, > >> Emily > >> > >> > >> On Wed, Aug 17, 2011 at 7:45 PM, Matt Madhavan <[email protected] > >wrote: > >> > >>> Hi Emily, > >>> Two questions. > >>> > >>> 1. One whats the process of raising JIRA? > >>> 2. Meanwhile I need to create a repository.xml for my local maven > > >>> repo. How do I do that? > >>> > >>> Thanks > >>> Matt > >>> > >>> On Wed, Aug 17, 2011 at 11:55 AM, Emily Jiang < > [email protected]>wrote: > >>> > >>>> Hi Matt, > >>>> I think you have hit a defect. This is caused due to the absence of > the > >>>> Transaction namespace handler bundle. Please raise a jira and I will > get it > >>>> fixed. > >>>> Regards > >>>> Emily > >>>> > >>>> > >>>> On Wed, Aug 17, 2011 at 12:07 AM, Matt Madhavan < > [email protected]>wrote: > >>>> > >>>>> Hello, > >>>>> I'm trying to create a bundle repository out of a folder containing > >>>>> bunch of bundles. I downloaded the Aries Repository Generation Tool > and ran > >>>>> he following command as specfied in: > >>>>> http://aries.apache.org/documentation/tools/repositoryGenerator.html > >>>>> > >>>>> java -jar > >>>>> > org.apache.aries.application.tooling.repository.generator-0.1.0-SNAPSHOT.jar > >>>>> c:\devtools\WAS_External_Repos\MyMavenLocalRepo.xml > >>>>> > file:///C:/NewWorkSpace/BankTestForIBMPSR/com.xxx.osgi.samples.bank/runner/bundles > >>>>> > >>>>> I'm getting the following exceptions. Any ideas please? > >>>>> > >>>>> I appreciate your help in advance! > >>>>> > >>>>> Thanks > >>>>> Matt > >>>>> > >>>>> java.lang.reflect.InvocationTargetException > >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > >>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > >>>>> Source) > >>>>> at java.lang.reflect.Method.invoke(Unknown Source) > >>>>> at > >>>>> org.apache.aries.application.repository.generator.AriesRepositoryGene > >>>>> rator.main(AriesRepositoryGenerator.java:202) > >>>>> Caused by: java.io.IOException: > >>>>> org.apache.aries.application.modelling.ModellerE > >>>>> xception: > >>>>> org.osgi.service.blueprint.container.ComponentDefinitionException: > Uns > >>>>> upported node namespace: > >>>>> http://aries.apache.org/xmlns/transactions/v1.0.0 > >>>>> at > >>>>> org.apache.aries.application.resolver.obr.impl.RepositoryGeneratorImp > >>>>> l.generateRepository(RepositoryGeneratorImpl.java:316) > >>>>> ... 5 more > >>>>> Caused by: org.apache.aries.application.modelling.ModellerException: > >>>>> org.osgi.se > >>>>> rvice.blueprint.container.ComponentDefinitionException: Unsupported > >>>>> node namespa > >>>>> ce: http://aries.apache.org/xmlns/transactions/v1.0.0 > >>>>> at > >>>>> org.apache.aries.application.modelling.impl.ModelledResourceManagerIm > >>>>> pl.getServiceElements(ModelledResourceManagerImpl.java:123) > >>>>> at > >>>>> org.apache.aries.application.modelling.impl.ModelledResourceManagerIm > >>>>> pl.getModelledResource(ModelledResourceManagerImpl.java:146) > >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > >>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > >>>>> Source) > >>>>> at java.lang.reflect.Method.invoke(Unknown Source) > >>>>> at > >>>>> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:5 > >>>>> 0) > >>>>> at > >>>>> org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java > >>>>> :31) > >>>>> at > >>>>> org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78) > >>>>> > >>>>> at $Proxy6.getModelledResource(Unknown Source) > >>>>> at > >>>>> org.apache.aries.application.resolver.obr.impl.RepositoryGeneratorImp > >>>>> l.generateRepository(RepositoryGeneratorImpl.java:309) > >>>>> ... 5 more > >>>>> Caused by: > >>>>> org.osgi.service.blueprint.container.ComponentDefinitionException: Un > >>>>> supported node namespace: > >>>>> http://aries.apache.org/xmlns/transactions/v1.0.0 > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parse > >>>>> r.java:1262) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parse > >>>>> r.java:1253) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.decorateCustomNode(Parser > >>>>> .java:1240) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.handleCustomElements(Pars > >>>>> er.java:1232) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.parseBeanMetadata(Parser. > >>>>> java:570) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.parseBlueprintElement(Par > >>>>> ser.java:393) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.loadComponents(Parser.jav > >>>>> a:326) > >>>>> at > >>>>> org.apache.aries.blueprint.container.Parser.populate(Parser.java:277) > >>>>> > >>>>> at > >>>>> org.apache.aries.blueprint.container.ParserServiceImpl.validateAndPop > >>>>> ulate(ParserServiceImpl.java:83) > >>>>> at > >>>>> org.apache.aries.blueprint.container.ParserServiceImpl.parse(ParserSe > >>>>> rviceImpl.java:70) > >>>>> at > >>>>> org.apache.aries.blueprint.container.ParserServiceImpl.parse(ParserSe > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>>> -- > >>>> Thanks > >>>> Emily > >>>> ================= > >>>> Emily Jiang > >>>> [email protected] > >>>> > >>>> > >>> > >> > >> > >> -- > >> Thanks > >> Emily > >> ================= > >> Emily Jiang > >> [email protected] > >> > >> > > > > > > -- > > Thanks > > Emily > > ================= > > Emily Jiang > > [email protected] > -- Thanks Emily ================= Emily Jiang [email protected]
