tag:blogger.com,1999:blog-25095519.comments2023-06-11T08:59:53.206-05:00Andrew NieferAnonymoushttp://www.blogger.com/profile/10918930759740557341[email protected]Blogger128125tag:blogger.com,1999:blog-25095519.post-85133919148990530822013-09-05T12:20:13.397-05:002013-09-05T12:20:13.397-05:00The name of the ini file is derived from the progr...The name of the ini file is derived from the program name, see <a href="http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c#n52" rel="nofollow">eclipseConfig.c/getIniFile</a>.<br />The program name is take from argv[0].<br /><br />On windows, the trailing &quot;.exe&quot; is stripped from the program name and &quot;.ini&quot; is appended. If the executable is the console launcher, and this file is not found, and the program name ends with &#39;c&#39; (like &quot;eclipsec&quot; does),<br />then we also try removing the &#39;c&#39;.<br /><br />Nowhere in the code does it explicitly check for &quot;eclipse.ini&quot;.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-53130931091408866222013-09-04T15:36:16.208-05:002013-09-04T15:36:16.208-05:00Except it doesn&#39;t work if you change the launc...Except it doesn&#39;t work if you change the launcher name and ini file. It still looks for the eclipse.ini file. Sigh. More proof that code rusts.Anonymoushttps://www.blogger.com/profile/14088309262879705593[email protected]tag:blogger.com,1999:blog-25095519.post-82323623546078029172013-07-03T14:30:54.477-05:002013-07-03T14:30:54.477-05:00@Muller, I believe these blog posts are still rele...@Muller, I believe these blog posts are still relevant for recent releases of Eclipse. I haven&#39;t actually tried the examples recently so can&#39;t guarantee that they still work out of the box, but I am not aware of any significant changes that would invalidate them.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-76286068267603158612013-07-03T14:28:03.388-05:002013-07-03T14:28:03.388-05:00I have made the examples available in git at http:...I have made the examples available in <a href="http://git.eclipse.org/c/pde/eclipse.pde.build.git/" rel="nofollow">git</a> at http://git.eclipse.org/gitroot/pde/eclipse.pde.build.git under the examples folder.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-62226839323621140972013-06-24T17:06:24.556-05:002013-06-24T17:06:24.556-05:00One little detail that&#39;s still missing : the e...One little detail that&#39;s still missing : the eclipse window is not brought to foreground automatically.bohanhttps://www.blogger.com/profile/02639742284683566272[email protected]tag:blogger.com,1999:blog-25095519.post-47994408822090552112013-06-14T06:01:53.185-05:002013-06-14T06:01:53.185-05:00Hi Andrew, thank you very much for this post. I wo...Hi Andrew, thank you very much for this post.<br />I would like to enable updates for a similar project and thus I have two questions:<br />- Are your advice still relevant considering building a product with Eclipse 3.7 / 3.8 using PDE headlessly?<br />- Is there a way to retrieve the sample projects (such as the ADT project) you provided? (I was not able to retrieve them following links within these pages)Mullerhttps://www.blogger.com/profile/14247570359986856057[email protected]tag:blogger.com,1999:blog-25095519.post-73580350320562333332013-05-07T05:00:37.885-05:002013-05-07T05:00:37.885-05:00I&#39;ve used workspace names for a while now and ...I&#39;ve used workspace names for a while now and this is invaluable when working with workspaces from multiple projects or branches.<br /><br />For Mac OSX, there is a nice plugin called &quot;OS X Eclipse Launcher&quot;, which also displays the name in a badge in the dock:<br /><br />https://github.com/turesheim/eclipse-utilities<br />http://marketplace.eclipse.org/content/osx-eclipse-launcher#.UYjPpSv5_CMWolfgang Schellhttps://www.blogger.com/profile/04425267088286089720[email protected]tag:blogger.com,1999:blog-25095519.post-14738133060385974912013-05-06T10:39:02.859-05:002013-05-06T10:39:02.859-05:00This is a good idea. However, I prefer to set the...This is a good idea. However, I prefer to set the background color for the text editor to something slightly different for each workspace. Grey is Kepler, green is Juno, Yellow is Indigo, etc (feel free to choose your own favorite colors).Andrew Eisenberghttps://www.blogger.com/profile/07897697507691706588[email protected]tag:blogger.com,1999:blog-25095519.post-15154611852477693332012-12-27T05:37:26.764-05:002012-12-27T05:37:26.764-05:00Hi Andrew, it seems cvs link to example is not lo...Hi Andrew, <br />it seems cvs link to example is not longer available, could you please share example in some other way.<br /><br />Thank you,<br />Dmitryddkhttps://www.blogger.com/profile/05077286930932806334[email protected]tag:blogger.com,1999:blog-25095519.post-52747038163402223172012-12-07T08:33:15.140-05:002012-12-07T08:33:15.140-05:00This method fails if folder contais binary (jar) f...This method fails if folder contais binary (jar) files. The tar (or zip) will be corrupted.<br />I suggest (tested) to add instead &quot;output&quot; attribute of exec element.<br /><br />PS: in the ant code you should double &#39;-&#39; char before remote (--remote)Falco Nikolashttps://www.blogger.com/profile/02364111967069305568[email protected]tag:blogger.com,1999:blog-25095519.post-38523482785139877032011-12-13T04:37:44.842-05:002011-12-13T04:37:44.842-05:00Just a help for everyone who tried Andrews good po...Just a help for everyone who tried Andrews good post to get the Git FetchFactory to run and didnt succeed, like myself (search for two days really).<br />The Git FetchFactory requires Java 1.6. If you have your PDE Build running on Java 1.5. you get strange errors where the CVS Fetchfactory is trying to interpret the Git Args in the map file and you wonder why.<br />But it just because the Git FetchFactory bundle doesnt get installed in Java 1.5, so for some reason the CVS FetchFactory takes over and I found that really hard to debug, but I finally go it to run.Christian Campohttps://www.blogger.com/profile/16732362698457926895[email protected]tag:blogger.com,1999:blog-25095519.post-40212069285690538912011-11-30T07:29:13.594-05:002011-11-30T07:29:13.594-05:00Found out the hard way that the tag= parameter is ...Found out the hard way that the tag= parameter is required, not because of the code, but because without it the git checkout --force command will not update as expected.<br />So, even if you are building from the master (head in cvs) make sure you put the tag= parameter in your map entries....<br />tag=origin/master<br /><br />The path= parameter is similar. Although things will act like they are playing nice, if you are pulling your code from the root of the repository, make sure you use path=. Even though that is the default, the build process will NOT work right without it.<br /><br />Here&#39;s an example<br /><b>[email protected]=GIT,repo=ssh://[email protected]:9898/somewhere/com_sombody_somewhere.git, path=., tag=origin/master</b>SBirdRanchhttps://www.blogger.com/profile/06272647745233392546[email protected]tag:blogger.com,1999:blog-25095519.post-6230890431391997642011-10-11T10:09:42.220-05:002011-10-11T10:09:42.220-05:00Thanks for the detailed explanation! I was looking...Thanks for the detailed explanation! I was looking why after product customization the open file feature stopped working. I wouldn&#39;t figure that out without this post. The appName attribute in the product simply didn&#39;t match the default one searched by the launcher.Alexhttps://www.blogger.com/profile/06129101357582381902[email protected]tag:blogger.com,1999:blog-25095519.post-29328352802964871642011-06-14T05:59:03.791-05:002011-06-14T05:59:03.791-05:00Pretty cool blog...Was helpful to set up my own en...Pretty cool blog...Was helpful to set up my own environment. I put up a post to contribute to the Orion Navigator http://pradyutsarma.blogspot.com/2011/06/extending-orion-navigator.htmlPradyuthttps://www.blogger.com/profile/14841643383863777472[email protected]tag:blogger.com,1999:blog-25095519.post-9354564724150783492011-04-12T14:37:21.170-05:002011-04-12T14:37:21.170-05:00Take a look at minimaleditor.html and minimaledito...Take a look at <a href="http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.core/static/examples/minimaleditor.html" rel="nofollow">minimaleditor.html</a> and <a href="http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.core/static/examples/minimaleditor.js" rel="nofollow">minimaleditor.js</a>. You can hook up key bindings for save and <a href="http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.editor/web/samples/undoStack.js" rel="nofollow">undo/redo</a>. Things are being refactored a little in the current milestone M7, <a href="http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.core/static/js/editorContainer.js" rel="nofollow">editorContainer.js</a> will be the basis for reusing the editor with more complete keybindings and commands. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337647" rel="nofollow">bug 337647</a> for some discussion about this.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-39847434720606178082011-04-12T14:21:32.654-05:002011-04-12T14:21:32.654-05:00See bug 331122. Eclipse runs with the java vm eit...See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331122" rel="nofollow">bug 331122</a>. Eclipse runs with the java vm either loaded in-process using the JNI Invocation API, or it forks a separate process to run java. There was a problem with the open file when running java in a second process.<br /><br />As a workaround, you can force the java to run in-process by specifying a -vm with a path to a libjvm.so file in your eclipse.ini file.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-55872322470935913532011-04-12T14:14:13.350-05:002011-04-12T14:14:13.350-05:00It doesn&#39;t work for Linux 64 bits the first ti...It doesn&#39;t work for Linux 64 bits the first time when eclipse is started. If there is already an Eclipse instance running, it works fine.Anonymoushttps://www.blogger.com/profile/16731161681841755671[email protected]tag:blogger.com,1999:blog-25095519.post-30459660923467105362011-04-09T10:25:39.459-05:002011-04-09T10:25:39.459-05:00For embed editor with &quot;writable&quot; class, ...For embed editor with &quot;writable&quot; class, is there a way to save the code after it was edited? Same for undo and redo...Unknownhttps://www.blogger.com/profile/10214494472020253272[email protected]tag:blogger.com,1999:blog-25095519.post-67130473383002591572011-02-16T18:12:15.143-05:002011-02-16T18:12:15.143-05:00There is anonymous read-only access with git ...There is anonymous read-only access with <br /><br />git clone git://git.eclipse.org/gitroot/project/repo<br />git clone http://git.eclipse.org/gitroot/project/repo<br /><br />I haven&#39;t been able to get the <b>git archive</b> command to work on these urls, so it looks like you would need to clone the entire repository and copy from the results.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-84077410201374771262011-02-16T17:54:46.330-05:002011-02-16T17:54:46.330-05:00Doing the second step as a product build is likely...Doing the second step as a product build is likely the most straightforward solution. There is some duplication in the builders, and perhaps technically some extra work being done, but this is worth it for simplicity. <br /><br />You do need to get at least the features transformed into folder shape. This simplest way to do this is use the <b>repoBaseLocation</b> support or call p2.repo2runnable yourself.Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-79554197882135900042011-02-15T09:56:22.034-05:002011-02-15T09:56:22.034-05:00How do I do the first step when I don&#39;t have a...How do I do the first step when I don&#39;t have a user on eclipse.org?Anonymous[email protected]tag:blogger.com,1999:blog-25095519.post-39689314199766699492011-02-09T12:29:29.372-05:002011-02-09T12:29:29.372-05:00Thanks a lot Andrew! I got signing working and try...Thanks a lot Andrew! I got signing working and trying now to get my head around the product configuration thing. It seems that I have to mimic some PDE Build implementation details. I was wondering if it would be a better approach to not do everything in one step.<br /><br />What about producing the signed &quot;master&quot; repo in on step. The next step would issue a vanilla product build which does not checkout any source but uses the repo produced in the first step. Do you see any issues with that approach? The thing that comes to my head is duplicating and synchronizing build properties (eg. configs to build). But the approach seems cleaner/easier. What do you think?Gunnarhttps://www.blogger.com/profile/08579442993356201374[email protected]tag:blogger.com,1999:blog-25095519.post-13877869221841660032011-02-03T16:35:49.694-05:002011-02-03T16:35:49.694-05:00Take a look at the 4.1 SDK builder: org.eclipse.e4...Take a look at the 4.1 SDK builder: <a href="http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.sdk/builder/" rel="nofollow">org.eclipse.e4.sdk/builder</a>. In its <b>customTargets/postBuild</b> target it uses <b>&lt;p2.publish.product&gt;</b> to publish a .product file and then later calls the director for each platform and archives the results.<br /><br />The tricky part is that product builds automatically generate some product configuration metadata for you (setting start levels, and other things). This is missing if you do a master feature build and publish the product file directly like we do here. <br /><br />The Eclipse SDK build has done a little <a href="http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/rcp.config/buildConfiguration.xml?view=co&amp;revision=1.10&amp;content-type=text%2Fplain" rel="nofollow">magic dance</a> to create a <b>org.eclipse.rcp.configuration.feature.group</b> which contains this metadata for the Eclipse SDK. This IU is branded for eclipse and not generally reusable for RCP apps or other products. We are just reusing this by including it in our .product file as if it was a feature. (We are building another version of the same product so that works out, but for example EPP packages alter the branding a little and might not be able to use this directly).Anonymoushttps://www.blogger.com/profile/10918930759740557341[email protected]tag:blogger.com,1999:blog-25095519.post-86645613263209336992011-02-03T16:05:50.102-05:002011-02-03T16:05:50.102-05:00Thanks a lot for sharing this. Do you also have a ...Thanks a lot for sharing this. Do you also have a recommendation for building products after a &quot;master&quot; build? <br /><br />For our project I&#39;m building an SDK feature. This produces a single repo zip with all the great stuff (source bundles, etc). Now I&#39;d like to build products from this repo. It would be great if the product IUs could be published into the repo. But I think I also need to run the director somewhow after signing in order to produce the product zips, correct?<br /><br />Could the be done as part of the running PDE Build or do I have to integrate this into the wrapper script? The Eclipse build does something like that but it looks heavily customized, though.Gunnarhttps://www.blogger.com/profile/08579442993356201374[email protected]tag:blogger.com,1999:blog-25095519.post-50165090206337432252011-02-03T15:45:08.698-05:002011-02-03T15:45:08.698-05:00See Bug 334583 for the context menu.See Bug 334583 for the context menu.Felipe Heidrichhttps://www.blogger.com/profile/06507227292052947692[email protected]