[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] errors when building from head


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


Simon Kaegi/Ottawa/IBM@IBMCA
Sent by: p2-dev-bounces@xxxxxxxxxxx

03/02/2009 12:35 PM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc
Subject
Re: [p2-dev] errors when building from head





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
Inactive hide details for Henrik Lindberg ---03/02/2009 12:33:14 PM---Hi I get errors when building from head using latest nighHenrik Lindberg ---03/02/2009 12:33:14 PM---Hi I get errors when building from head using latest nightly, after

From:

Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

03/02/2009 12:33 PM

Subject:

[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