Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] A suggestion on the native code regeneration

Thanks, Scott. You are completely correct.
I have added your words to the instructions.

Another option I always select is "Refresh resources upon completion" on 
the Refresh tab of the Ant launch configuration dialog.
Then I don't have to remember to refresh anything...  ;)

Carolyn






[platform-swt-dev] A suggestion on the native code regeneration

Scott Kovatch 
to:
Eclipse Platform SWT component developers list. 
08/29/2008 05:44 PM


Sent by:
platform-swt-dev-bounces@xxxxxxxxxxx
Please respond to "Eclipse Platform SWT component developers list." 






Hi,

After a bit of thrashing, I finally figured out why I couldn't get my 
native
code changes to rebuild.

I was following along on this page:

http://www.eclipse.org/swt/jnigen.php

but I kept getting an ant failure because it couldn't find the
"eclipse.refreshLocal" directive.  After a google search I found that you
have to run the ant script in the same Java VM that's running Eclipse!

Right-click on the build.xml in Eclipse SWT PI/cocoa/library, and choose
"Run As -> Ant Build...", and then select the JRE tab. Check the "Run in 
the
same JRE as the workspace" and you're all set.

This seems like an important enough piece of information that you should 
add
it to the instructions. Can someone please do that to avoid future
hair-pulling episodes? Thanks.

-- Scott K.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top