Thanks Andrew and Simon, manually clearing the jarprocessor bin and lib to force a rebuild, and then restarting Eclipse fixed the issue. On Mar 2, 2009, at 7:30 PM, Andrew Niefer wrote: We raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=266154 on UI for this issue. There are two things: 1) Make sure the org.eclipse.equinox.p2.jarprocessor/lib/jarprocessor-ant.jar exists. There is a builder on the project that is supposed to create it, but sometimes you need to clean and rebuild the project to force it to run. 2) Make sure PDE put jarprocessor-ant.jar under org.eclipse.equinox.p2.repository.tools 's Plug-in Dependencies list. This wasn't always happening if the jar wasn't previous created. To force it you may need to remove and re-add the jars.extra.classpath entry from the build.properties file. -Andrew I'm not sure if this was ever formally resolved. But for now you can try adding this to your .classpath <classpathentry kind="lib" path="/org.eclipse.equinox.p2.jarprocessor/bin_ant"/> -Simon <mime-attachment.gif>Henrik Lindberg ---03/02/2009 12:33:14 PM---Hi I get errors when building from head using latest nightly, after <mime-attachment.gif> From: | <mime-attachment.gif> Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx> | <mime-attachment.gif> To: | <mime-attachment.gif> P2 developer discussions <p2-dev@xxxxxxxxxxx> | <mime-attachment.gif> Date: | <mime-attachment.gif> 03/02/2009 12:33 PM | <mime-attachment.gif> Subject: | <mime-attachment.gif> [p2-dev] errors when building from head |
Hi I get errors when building from head using latest nightly, after having run the projectSet.psf 1.27 I get 14 errors similar to these: Description Resource Path Location Type Access restriction: The constructor JarProcessorTask() is not accessible due to restriction on required project org.eclipse.equinox.p2.jarprocessor ProcessRepoTask.java org.eclipse.equinox.p2.repository.tools/src_ant/org/eclipse/equinox/p2/ internal/repository/tools/tasks line 69 Java Problem Any suggestions? I assume it is not broken for everyone... Henrik Lindberg henrik.lindberg@xxxxxxxxxxxxxx _______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev _______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev _______________________________________________ p2-dev mailing list p2-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/p2-dev
|