Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Bug 372794 CBI build of platform native SWT code

The problem was caused by the fact that I'm using maven-ant-runner
plugin to build swt, which is incompatible with tycho compiler. I was
able to produce well formed swt bundles, but internal folder layout made
compiled classes inaccessible for other plugins. 

Tycho installed produced jars into repo, so during next build they were
used.

Please find a fix proposition attached - and double check it really
works. If not - please remove my patches until I find correct fix.


Best regards and sorry for the inconvenience,
Chris.

>From 184d20ec611ab73e9e28153d2c15669ff0143c1c Mon Sep 17 00:00:00 2001
From: Krzysztof Daniel <kdaniel@xxxxxxxxxx>
Date: Mon, 18 Jun 2012 20:17:56 +0200
Subject: [PATCH] Copy classes to fake tycho build and make them available for
 other bundles.

---
 bundles/binaries-parent/pom.xml |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/bundles/binaries-parent/pom.xml b/bundles/binaries-parent/pom.xml
index 9e68690..4f88718 100644
--- a/bundles/binaries-parent/pom.xml
+++ b/bundles/binaries-parent/pom.xml
@@ -48,6 +48,9 @@
                 <copy toDir="src/org/">
                   <fileset dir="temp.folder/@dot.src/org/" />
                 </copy>
+		<copy toDir="target/classes/org/">
+                  <fileset dir="@dot/org/" />
+                </copy>
               </target>
             </configuration>
             <goals>
-- 
1.7.10.2


Back to the top