Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

Re: [groovy-eclipse-plugin-dev] Problems building the update site
 with 1.6

MrR08040

2009-04-29

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi James,

On Tue, Apr 28, 2009 at 9:15 PM, James Ervin
<jervin@(protected):
> I am going to ask the obvious question first. Have you checked out the
> plugin org.codehaus.groovy.eclipse.codebrowsing? It could also be an issue
> with the timestamp, its generated when the plugin is built.

Yes, it's in my workspace. Here's my procedure for building the
Groovy Eclipse plug-in:

##### add groovy AND testng to eclipse
- update site: http://beust.com/eclipse
- update site: http://dist.groovy.codehaus.org/distributions/updateDev_1.6

##### optionally add svn to eclipse
- update site: http://subclipse.tigris.org/update_1.4.x

##### check-out source
; cd ~/sandbox
; svn co -q http://svn.codehaus.org/groovy/branches/groovy/ide/groovy-eclipse/1.6
org.codehaus.groovy.eclipse-1.6

##### import projects into eclipse workspace

##### apply patch
Index: org.codehaus.groovy.eclipse.testng/src/org/codehaus/groovy/eclipse/testng/util/LaunchUtil.java
===================================================================
--- org.codehaus.groovy.eclipse.testng/src/org/codehaus/groovy/eclipse/testng/util/LaunchUtil.java
  (revision 16197)
+++ org.codehaus.groovy.eclipse.testng/src/org/codehaus/groovy/eclipse/testng/util/LaunchUtil.java
  (working copy)
@@(protected) @@
               IProject project, String confName) {
          ILaunchManager launchManager = getLaunchManager();
          ILaunchConfiguration config =
ConfigurationHelper.findConfiguration(
-                     launchManager, project, confName );
+                     launchManager, project, confName, null );

          ILaunchConfigurationWorkingCopy configWC = null;
          if (null != config) {


What do folks think about this procedure?

I assume I had to make that patch because the TestNG plugin from their
update site is newer than when the Groovy Eclipse plugin branch was
created.

Many thanks in advance!

Rob




On Tue, Apr 28, 2009 at 9:15 PM, James Ervin
<jervin@(protected):
> I am going to ask the obvious question first. Have you checked out the
> plugin org.codehaus.groovy.eclipse.codebrowsing? It could also be an issue
> with the timestamp, its generated when the plugin is built.
> Thanks,
> James E. Ervin, IV
>
> A human being should be able to change a diaper, plan an invasion, butcher a
> hog, conn a ship, design a building, write a sonnet, balance accounts, build
> a wall, set a bone, comfort the dying, take orders, give orders, cooperate,
> act alone, solve equations, analyze a new problem, pitch manure, program a
> computer, cook a tasty meal, fight efficiently, die gallantly.
> Specialization is for insects.
> -Robert A. Heinlein
>
> Blog: http://iacobus.blogspot.com
>
>
> On Tue, Apr 28, 2009 at 12:35 PM, MrR08040 <MrR08040@(protected):
>>
>> Greetings,
>>
>> I'm trying to build a local update site (since I can't seem to find
>> anywhere to download one!) and I followed the instructions here:
>>
>> http://groovy.codehaus.org/Eclipse+Plugin
>>
>> And after hitting the "Build All" button I get a dialog in Eclipse:
>>
>> Unable to find plug-in:
>> org.codehaus.groovy.eclipse.codebrowsing_1.6.0.200904061436.  Please
>> check the error log for more details.
>> Unable to find plug-in:
>> org.codehaus.groovy.eclipse.codebrowsing_1.6.0.200904061436.  Please
>> check the error log for more details.
>>
>> Yes, it's repeated twice in the dialog.  And there isn't anything in
>> the "Error Log" view.
>>
>> Any ideas?
>>
>> Thanks in advance,
>> Rob
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.