[ 
https://issues.apache.org/jira/browse/AXIS2-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harshana Eranga Martin updated AXIS2-5145:
------------------------------------------

    Attachment: AXIS2-5145.patch

Hi All,

Currently there is a set of unwanted import-packages are added to the 
axis2-eclipse-service plugin. Eclipse plugin fails to start due to these 
unsatisfied imports. 

Below is an example:


org.osgi.framework.BundleException: The bundle 
"org.apache.axis2.eclipse.service.plugin_1.7.0.SNAPSHOT [763]" could not be 
resolved. Reason: Missing Constraint: Import-Package: com.sun.codemodel; 
version="0.0.0"
        at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
        at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
        at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
        at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
        at 
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
        at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
        at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
        at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
        at java.lang.Thread.run(Thread.java:662)

And the Manifest contains:

Import-Package: com.sun.codemodel,com.sun.codemodel.writer,com.sun.ist
 ack,com.sun.istack.tools,com.sun.mirror.apt,com.sun.mirror.declaratio
 n,com.sun.mirror.type,com.sun.mirror.util,com.sun.tools.apt,com.sun.t
 ools.xjc,com.sun.tools.xjc.api,com.sun.tools.xjc.api.util,com.sun.too ...

Hence I have excluded these Import-Packages from the manifest by fixing the 
maven-bundle-plugin rules. 

I have attached the patch here. I have tested the fixed plugins with both 
Eclipse Helios and Indigo JavaEE distributions.

Please verify and apply the patch.

Thanks and Regards,
Harshana

> Apache Axis2 Code Generator Wizard - Eclipse Plugin -  Not instantiating
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5145
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5145
>             Project: Axis2
>          Issue Type: Bug
>          Components: ide plugins
>    Affects Versions: 1.6.1
>         Environment: Apache Axis2 Code Generator Wizard - Eclipse Plugin 
>            Reporter: Mohamed Saleem
>            Assignee: Harshana Eranga Martin
>            Priority: Critical
>              Labels: ide-plugins
>             Fix For: 1.6.1, 1.7.0
>
>         Attachments: AXIS2-5145.patch
>
>
> I have downloaded org.apache.axis2.eclipse.codegen.plugin_1.6.1.zip from 
> Apache site and installed it in the Eclipse Indigo (3.7.0) plugins folder 
> (jar file only from the zip).  After restarting eclipse, the Axis code 
> generating wizard is not instantiated in Eclipse.  Can you please direct me 
> here?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to