Jump to: navigation, search

RTP/Configuration-Format

< RTP

Below an commented example of the RTP JSON configuration format is listed. You can create your own configurations and hook them via a system property to an RTP instance. {

 // an array of installable items
 "sources": [ 
   {
     // the human readable name on an item
     "name": "rap", 
     // the description on an item
     "description": "Some text", 
     // the website of an item
     "infoUrl": "http://foo.bar/info", 
     // an array of different versions of an installable item
     "versions": [ 
       {
         // feature ids and versions for an item
         "features": [ { id : "org.eclipse.rap.feature.group", version : "2.4.0" }, { id : "org.eclipse.rap.feature.group.ext", version : "1.4.0" } ], 
         // the overall version for an item
         "version": "1.4", 
         // the url of the p2 repository of an item
         "repositoryUrl": "http://foo.bar" 
       },
       {
         "features": [ { id : "org.eclipse.rap.feature.group", version : "2.5.0" }, { id : "org.eclipse.rap.feature.group.ext", version : "1.5.0" } ],
         "version": "1.5",
         "repositoryUrl": "http://foo.bar2"
       }
     ]
   }
 ]

}