| Hi Everyone, 
 I discovered that I could workaround this issue by telling Tycho to
    use JDK1.5 using the following code.
 
 
 
          <build> 
          <plugins> 
          <plugin> 
          <groupId>org.eclipse.tycho</groupId> 
          <artifactId>target-platform-configuration</artifactId> 
          <configuration> 
          <executionEnvironment>J2SE-1.5</executionEnvironment> 
          </configuration> 
          </plugin> 
          </plugins> 
          </build> I'm not sure this is the right thing to do but it lets me continue
    on with the build for now. I've also discovered another bundle with
    the same issue in the below logs for org.eclipse.jst.ws.
 
 
 Thanh
 
 
 [ERROR] Failed to execute goal
      org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile
      (default-compile) on project org.eclipse.jst.ws: Compilation
      failure: Compilation failure:
 [ERROR]
/home/user/Downloads/webtools/wtp-aggregator/webservices/plugins/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java:[1610,0]
 [ERROR] manifest.mergeClassPath(new String[]{uri});
 [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 [ERROR] Access restriction: The method mergeClassPath(String[])
      from the type ArchiveManifest is not accessible due to restriction
      on classpath entry
/home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.jst.common.frameworks/target/classes
 [ERROR] 1 problem (1 error)
 [ERROR] -> [Help 1]
 
 
 
 On 05/25/2012 01:07 PM, Thanh Ha wrote:
 Hi
      Everyone,
      
 Making some more progress on WTP today. Ran into a new issue below
      though which I hope someone might be able to help me with. I'm
      getting an Access Restriction below which I'm not sure how to
      solve.
 
 Thanks,
 
 
 Thanh
 
 
 [ERROR] Failed to execute goal
      org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile
      (default-compile) on project org.eclipse.jst.ws: Compilation
      failure: Compilation failure:
 [ERROR]
/home/user/Downloads/webtools/wtp-aggregator/webservices/plugins/org.eclipse.jst.ws/src/org/eclipse/jst/ws/internal/common/J2EEUtils.java:[1610,0]
 [ERROR] manifest.mergeClassPath(new String[]{uri});
 [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 [ERROR] Access restriction: The method mergeClassPath(String[])
      from the type ArchiveManifest is not accessible due to restriction
      on classpath entry
/home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.jst.common.frameworks/target/classes
 [ERROR] 1 problem (1 error)
 [ERROR] -> [Help 1]
 
 _______________________________________________
 cbi-dev mailing list
 cbi-dev@xxxxxxxxxxx
 http://dev.eclipse.org/mailman/listinfo/cbi-dev
 
 
 
 |