Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Building platform.swt locally

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 <gayanper@xxxxxxxxx>
Sent: 09 May 2021 22:58
To: Eclipse platform general developers list. <platform-dev@xxxxxxxxxxx>
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 < ‍ ‍ ‍ ‍ ‍

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 <gayanper@xxxxxxxxx> 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.



Back to the top