You can use this command at the same location as ant script to build swt jars.

$> mvn clean verify -Pbuild-individual-bundles 

 

Please take a look at 
https://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/tree/bundles/org.eclipse.swt.gtk.linux.x86_64/mvnBuildSwtJar.sh.
 This script is written to build swt natives and swt jars together using maven

 

PS: maven build also uses ant internally. 

 

Thanks and Regards,
Sravan 

Sravan Kumar Lakkimsetti
IBM India Pvt Ltd,
Embassy Golf Links Business Park, C Block,
Off Indiranagar-Kormangla Inner Ring Road,
Bangalore - 560071, India

 

From: Gayan Perera <gayan...@gmail.com> 
Sent: 09 May 2021 22:58
To: Eclipse platform general developers list. <platform-dev@eclipse.org>
Subject: [EXTERNAL] Re: [platform-dev] Building platform.swt locally

 

Hi all, I found it here https://www.eclipse.org/swt/faq.php#howbuildjar and 
used the Ant build target for now. Let me know if this can be done using maven 
as well. Best regards, Gayan. On Sun, May 9, 2021 at 12:31 PM Gayan Perera < ‍ 
‍ ‍ ‍ ‍ ZjQcmQRYFpfptBannerStart 




This Message Is From an External Sender 


This message came from outside your organization. 

ZjQcmQRYFpfptBannerEnd



Hi all,

I found it here https://www.eclipse.org/swt/faq.php#howbuildjar and used the 
Ant build target for now. Let me know if this can be done using maven as well.

 

Best regards,

Gayan.

 

On Sun, May 9, 2021 at 12:31 PM Gayan Perera <gayan...@gmail.com 
<mailto:gayan...@gmail.com> > wrote:

Hi all,

I'm working on https://bugs.eclipse.org/bugs/show_bug.cgi?id=573016 and just 
want to make a local build of org.eclipse.swt and get the jar file to patch my 
eclipse installation. I have a bash script which can create a patch jar which 
will only contain the classes in the commit. So i can manually replace the 
installation jar with the modified classes. I have been doing this for jdt 
modules.

 

But when try to build swt project, i cannot get the jar file which contains the 
compiled classes. Is there a special set of steps i need to run to get the jar 
file ?

 

Best regards,

Gayan.


_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to