Quantcast

Documentation how to build the SWT natives for Windows?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Documentation how to build the SWT natives for Windows?

Lars Vogel-2
Friends of SWT,

can you please point me to the documentation how to build the SWT
natives for Windows?

https://wiki.eclipse.org/SWT/Developer_Guide seems outdated and does
not contain instructions for building the natives.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Documentation how to build the SWT natives for Windows?

Leo Ufimtsev-2
Hello guys,

I would also like to know how to setup a windows box. A few hints / pointers into the right direction would be helpful.

I develop mostly on Linux, but I sometimes need to test patches on Windows for cross-platform code.

On Mon, Feb 13, 2017 at 4:34 AM, Lars Vogel <[hidden email]> wrote:
Friends of SWT,

can you please point me to the documentation how to build the SWT
natives for Windows?

https://wiki.eclipse.org/SWT/Developer_Guide seems outdated and does
not contain instructions for building the natives.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Documentation how to build the SWT natives for Windows?

Conrad Groth

Hi,

 

I recently configured my windows 10 laptop, to rebuild the SWT binaries.

I started with the steps from list item 6 on https://www.eclipse.org/swt/jnigen.php

Unfortunately these steps don’t work without these additional measures:

-          Start you eclipse with an environment variable JAVA_HOME pointing to your JDK folder. I created a cmd file with this contents:
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45
start c:\eclipse\eclipse.exe

-          Create a folder C:\BUILD\swt-builddir (it has to be exactly named like this)

-          Install the “Windows Server 2003 SP1 SDK” (https://www.microsoft.com/en-us/download/details.aspx?id=6510 ) to “C:\BUILD\swt-builddir\MSSDKs\Windows Server 2003 SP1 SDK”

-          Make a symbolic link “C:\BUILD\swt-builddir\ibm-sdk50-x86_64”, that points to your JDK (alternatively install the JDK to that folder)
Inside that folder you have the folders bin, include, jre…

-          Copy the file jawt.lib from the lib subfolder to jre\bin

 

With these steps I managed to build the SWT binaries locally, but without the XULRUNNER. That build step had an error, but as I didn’t need those artefacts, I was happy.

 

Have fun,

Conrad

 

Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Leo Ufimtsev
Gesendet: Donnerstag, 16. Februar 2017 18:55
An: Eclipse Platform SWT component developers list.
Betreff: Re: [platform-swt-dev] Documentation how to build the SWT natives for Windows?

 

Hello guys,

I would also like to know how to setup a windows box. A few hints / pointers into the right direction would be helpful.

I develop mostly on Linux, but I sometimes need to test patches on Windows for cross-platform code.

 

On Mon, Feb 13, 2017 at 4:34 AM, Lars Vogel <[hidden email]> wrote:

Friends of SWT,

can you please point me to the documentation how to build the SWT
natives for Windows?

https://wiki.eclipse.org/SWT/Developer_Guide seems outdated and does
not contain instructions for building the natives.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




--

Leo Ufimtsev
Software Engineer, Eclipse team.

Toronto, Canada


Red Hat, Inc.

[hidden email] | http://DeveloperBlog.RedHat.com/


_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Documentation how to build the SWT natives for Windows?

Leo Ufimtsev-2
Thank you for sharing those pointers. I'll try to setup a win32 box after I'm back from vaccation and if I get things going well, I'll tryna update the wiki.

On Thu, Feb 16, 2017 at 3:41 PM, Conrad Groth <[hidden email]> wrote:

Hi,

 

I recently configured my windows 10 laptop, to rebuild the SWT binaries.

I started with the steps from list item 6 on https://www.eclipse.org/swt/jnigen.php

Unfortunately these steps don’t work without these additional measures:

-          Start you eclipse with an environment variable JAVA_HOME pointing to your JDK folder. I created a cmd file with this contents:
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45
start c:\eclipse\eclipse.exe

-          Create a folder C:\BUILD\swt-builddir (it has to be exactly named like this)

-          Install the “Windows Server 2003 SP1 SDK” (https://www.microsoft.com/en-us/download/details.aspx?id=6510 ) to “C:\BUILD\swt-builddir\MSSDKs\Windows Server 2003 SP1 SDK”

-          Make a symbolic link “C:\BUILD\swt-builddir\ibm-sdk50-x86_64”, that points to your JDK (alternatively install the JDK to that folder)
Inside that folder you have the folders bin, include, jre…

-          Copy the file jawt.lib from the lib subfolder to jre\bin

 

With these steps I managed to build the SWT binaries locally, but without the XULRUNNER. That build step had an error, but as I didn’t need those artefacts, I was happy.

 

Have fun,

Conrad

 

Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Leo Ufimtsev
Gesendet: Donnerstag, 16. Februar 2017 18:55
An: Eclipse Platform SWT component developers list.
Betreff: Re: [platform-swt-dev] Documentation how to build the SWT natives for Windows?

 

Hello guys,

I would also like to know how to setup a windows box. A few hints / pointers into the right direction would be helpful.

I develop mostly on Linux, but I sometimes need to test patches on Windows for cross-platform code.

 

On Mon, Feb 13, 2017 at 4:34 AM, Lars Vogel <[hidden email]> wrote:

Friends of SWT,

can you please point me to the documentation how to build the SWT
natives for Windows?

https://wiki.eclipse.org/SWT/Developer_Guide seems outdated and does
not contain instructions for building the natives.

Best regards, Lars

--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [hidden email], Web: http://www.vogella.com
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




--

Leo Ufimtsev
Software Engineer, Eclipse team.

Toronto, Canada


Red Hat, Inc.

[hidden email] | http://DeveloperBlog.RedHat.com/


_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Loading...