| Recompiling examples [message #197318] | 
Mon, 03 October 2005 00:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: alextret.yahoo.com 
 
GEF comes with examples (including source code). I have no problem running 
them. 
 
However, I'd like to be able to recompile them. This appears to be not 
straightforward, as source code for the examples does not include any 
project configuration files (it is just Java). I believe, that one has to 
know quite a bit about eclipse (and abouth the specific plugin) to 
recreate configuration files specifying extension points etc. This 
situation is not specific to GEF, it appears to be common for all plugins 
available from http://www.eclipse.org 
 
So far, I was unable to find any instructions on how to recompile the 
examples. The closest I could get, are the following instructions on how 
to recompile the whole of the Eclipse: 
 http://download.eclipse.org/eclipse/downloads/drops/R-3.1-20 0506271435/srcIncludedBuildInstructions.html 
 
Is their an easy way to recompile Eclipse examples? I did try to use File -  
Import in various combinations, but it goes nowhere. To import, I need to  
have a project in place. And to create a project, I need to specify all sort  
of configuration options ...
 |  
 |  
  | 
| Re: Recompiling examples [message #197326 is a reply to message #197318] | 
Mon, 03 October 2005 00:07    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: zx.us.ibm.com 
 
Alexei Tretiakov wrote: 
> GEF comes with examples (including source code). I have no problem running 
> them. 
>  
> However, I'd like to be able to recompile them. This appears to be not 
> straightforward, as source code for the examples does not include any 
> project configuration files (it is just Java). I believe, that one has to 
> know quite a bit about eclipse (and abouth the specific plugin) to 
> recreate configuration files specifying extension points etc. This 
> situation is not specific to GEF, it appears to be common for all plugins 
> available from http://www.eclipse.org 
>  
> So far, I was unable to find any instructions on how to recompile the 
> examples. The closest I could get, are the following instructions on how 
> to recompile the whole of the Eclipse: 
>  http://download.eclipse.org/eclipse/downloads/drops/R-3.1-20 0506271435/srcIncludedBuildInstructions.html 
>  
> Is their an easy way to recompile Eclipse examples? I did try to use File -  
> Import in various combinations, but it goes nowhere. To import, I need to  
> have a project in place. And to create a project, I need to specify all sort  
> of configuration options ... 
>  
>  
 
File a bug for this I think just to be safe. You should be able to just  
import the project and have it compile, if I recall, I've had cases  
where this wasn't true for some of the samples.
 |  
 |  
  | 
 | 
 | 
 | 
| Re: Recompiling examples [message #197537 is a reply to message #197350] | 
Tue, 04 October 2005 06:17   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: alextret.yahoo.com 
 
It did work. 
 
Thank you very much. 
 
"Nicolai Guba" <nicolai_guba@scee.net> wrote in message  
news:1128342372.651525@joshua.ni.scee.sony.co.uk... 
> Alexei Tretiakov wrote: 
> 
>> Is their an easy way to recompile Eclipse examples? I did try to use File 
>> - Import in various combinations, but it goes nowhere. To import, I need 
>> to have a project in place. And to create a project, I need to specify  
>> all 
>> sort of configuration options ... 
> 
> Hmmm, what always worked for me was the following 
> 
> 1. Open Plug-in development perspective 
> 2. Select the Plugins tab on the same panel as the Package Explorer 
> 3. Select the example and right-click to import as sources 
> 4. Sometimes fix minor issues with plugin.xml (had to remove the 
> availableAsShortcut property in the <wizard> section to get the latest one 
> to work [org.eclipse.gef.examples.logic]) 
> 
> Compiles and runs perfectly inside my Eclipse 3.1.1 
> 
> Hope this helps... 
> --  
> Nicolai Guba 
> +44.(0)151.282.3709 
> Sony Computer Entertainment Europe 
> http://www.scee.com
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05202 seconds