Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Validation and compilation errors after taking latest orion build into eclipse workspace

The license-feature attributes on the feature.xml are a new Eclipse 3.7 feature that allows copying a license from some other feature.
You will likely need to use a 3.7 IDE for the error to go away.  (http://download.eclipse.org/eclipse/downloads/drops/S-3.7RC1-201105122000/index.php)

For the git compile errors, orion is built against the latest nightly builds of JGit, so you probably need to update your egit/jgit.  Try using the
http://download.eclipse.org/egit/updates-nightly p2 repository.  Or you can also just use a recent Orion build as your target platform since it will have the versions of egit/jgit that we compiled against.

-Andrew



From: prashant Tiwari <prashant3784@xxxxxxxxx>
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date: 05/16/2011 04:08 PM
Subject: [orion-dev] Validation and compilation errors after taking latest orion build into eclipse workspace
Sent by: orion-dev-bounces@xxxxxxxxxxx





I imported some festure projects from "org.eclipse.orion.server" repository into my eclipse workspace. While validating "feature.xml" for most of feature plugin projects it shows validation error as below :-

Illegal attribute 'license-feature-version'
Illegal attribute 'icense-feature


Below is content from one of feature.xml
file:-
<feature
      id="org.eclipse.orion.base.feature"
      label="%featureName"
      version="0.2.0.qualifier"
      provider-name="%providerName"
      license-feature="org.eclipse.license"
      license-feature-version="1.0.0.qualifier">

Am I using some older API/Schema for validating this xml file?  Currently I am using eclipse 3.6 as IDE and orion target platform with version "orion-0.2M7" inside my eclipse.

Also apart from above xml validation error I am also getting java compilation error as well for latest GIT repo of orion server package. The error I am getting is for class GitStatusHandlerV1.java in "org.eclipse.orion.server.git" project and error is:-

The method getConflicting() is undefined for the type IndexDiff


I opened IndexDiff class is above method is not there in it.

Do I need to update anything?

--
"DESERVE BEFORE YOU DESIRE"
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top