Lines 153-191
Link Here
|
153 |
if (images != null) { |
153 |
if (images != null) { |
154 |
if (icons.length() > 0) |
154 |
if (icons.length() > 0) |
155 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
155 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
156 |
index c007fe1..47d93ec 100644 |
156 |
index 617304c..e2a6a31 100644 |
157 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
157 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
158 |
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
158 |
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java |
159 |
@@ -13,22 +13,25 @@ package org.eclipse.pde.internal.core.iproduct; |
159 |
@@ -17,12 +17,14 @@ public interface IArgumentsInfo extends IProductObject { |
160 |
public interface IArgumentsInfo extends IProductObject { |
|
|
161 |
|
162 |
public static final String P_PROG_ARGS = "programArgs"; //$NON-NLS-1$ |
163 |
+ public static final String P_PROG_ARGS_FRE = "programArgsFre"; //$NON-NLS-1$ |
164 |
public static final String P_PROG_ARGS_LIN = "programArgsLin"; //$NON-NLS-1$ |
165 |
public static final String P_PROG_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$ |
160 |
public static final String P_PROG_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$ |
166 |
public static final String P_PROG_ARGS_SOL = "programArgsSol"; //$NON-NLS-1$ |
161 |
public static final String P_PROG_ARGS_SOL = "programArgsSol"; //$NON-NLS-1$ |
167 |
public static final String P_PROG_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$ |
162 |
public static final String P_PROG_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$ |
|
|
163 |
+ public static final String P_PROG_ARGS_FRE = "programArgsFre"; //$NON-NLS-1$ |
168 |
|
164 |
|
169 |
public static final String P_VM_ARGS = "vmArgs"; //$NON-NLS-1$ |
165 |
public static final String P_VM_ARGS = "vmArgs"; //$NON-NLS-1$ |
170 |
+ public static final String P_VM_ARGS_FRE = "vmArgsFre"; //$NON-NLS-1$ |
|
|
171 |
public static final String P_VM_ARGS_LIN = "vmArgsLin"; //$NON-NLS-1$ |
166 |
public static final String P_VM_ARGS_LIN = "vmArgsLin"; //$NON-NLS-1$ |
172 |
public static final String P_VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$ |
167 |
public static final String P_VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$ |
173 |
public static final String P_VM_ARGS_SOL = "vmArgsSol"; //$NON-NLS-1$ |
168 |
public static final String P_VM_ARGS_SOL = "vmArgsSol"; //$NON-NLS-1$ |
174 |
public static final String P_VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$ |
169 |
public static final String P_VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$ |
|
|
170 |
+ public static final String P_VM_ARGS_FRE = "vmArgsFre"; //$NON-NLS-1$ |
175 |
|
171 |
|
176 |
public static final int L_ARGS_ALL = 0; |
172 |
public static final String P_ARGS_ARCH_X86 = "argsX86"; //$NON-NLS-1$ |
177 |
- public static final int L_ARGS_LINUX = 1; |
173 |
public static final String P_ARGS_ARCH_X86_64 = "argsX86_64"; //$NON-NLS-1$ |
178 |
- public static final int L_ARGS_MACOS = 2; |
174 |
@@ -37,6 +39,7 @@ public interface IArgumentsInfo extends IProductObject { |
179 |
- public static final int L_ARGS_SOLAR = 3; |
175 |
public static final int L_ARGS_MACOS = 2; |
180 |
- public static final int L_ARGS_WIN32 = 4; |
176 |
public static final int L_ARGS_SOLAR = 3; |
181 |
+ public static final int L_ARGS_FRBSD = 1; |
177 |
public static final int L_ARGS_WIN32 = 4; |
182 |
+ public static final int L_ARGS_LINUX = 2; |
178 |
+ public static final int L_ARGS_FRBSD = 5; |
183 |
+ public static final int L_ARGS_MACOS = 3; |
|
|
184 |
+ public static final int L_ARGS_SOLAR = 4; |
185 |
+ public static final int L_ARGS_WIN32 = 5; |
186 |
|
179 |
|
187 |
void setProgramArguments(String args, int platform); |
180 |
public static final int L_ARGS_ARCH_ALL = 0; |
188 |
|
181 |
public static final int L_ARGS_ARCH_X86 = 1; |
189 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java |
182 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java |
190 |
index e88ee99..40628dc 100644 |
183 |
index e88ee99..40628dc 100644 |
191 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java |
184 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java |
Lines 200-323
Link Here
|
200 |
|
193 |
|
201 |
public static final String MACOSX_ICON = "macosxIcon"; //$NON-NLS-1$ |
194 |
public static final String MACOSX_ICON = "macosxIcon"; //$NON-NLS-1$ |
202 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
195 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
203 |
index 66dedcb..0f82bad 100644 |
196 |
index 5dcda32..437aab8 100644 |
204 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
197 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
205 |
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
198 |
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java |
206 |
@@ -20,12 +20,14 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
199 |
@@ -20,12 +20,14 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
207 |
|
200 |
|
208 |
private static final long serialVersionUID = 1L; |
201 |
private static final long serialVersionUID = 1L; |
209 |
private String fProgramArgs = ""; //$NON-NLS-1$ |
202 |
private String[] fProgramArgs = new String[8]; |
210 |
+ private String fProgramArgsFre = ""; //$NON-NLS-1$ |
203 |
+ private String[] fProgramArgsFre = new String[8]; |
211 |
private String fProgramArgsLin = ""; //$NON-NLS-1$ |
204 |
private String[] fProgramArgsLin = new String[8]; |
212 |
private String fProgramArgsMac = ""; //$NON-NLS-1$ |
205 |
private String[] fProgramArgsMac = new String[8]; |
213 |
private String fProgramArgsSol = ""; //$NON-NLS-1$ |
206 |
private String[] fProgramArgsSol = new String[8]; |
214 |
private String fProgramArgsWin = ""; //$NON-NLS-1$ |
207 |
private String[] fProgramArgsWin = new String[8]; |
215 |
|
208 |
|
216 |
private String fVMArgs = ""; //$NON-NLS-1$ |
209 |
private String[] fVMArgs = new String[8]; |
217 |
+ private String fVMArgsFre = ""; //$NON-NLS-1$ |
210 |
+ private String[] fVMArgsFre = new String[8]; |
218 |
private String fVMArgsLin = ""; //$NON-NLS-1$ |
211 |
private String[] fVMArgsLin = new String[8]; |
219 |
private String fVMArgsMac = ""; //$NON-NLS-1$ |
212 |
private String[] fVMArgsMac = new String[8]; |
220 |
private String fVMArgsSol = ""; //$NON-NLS-1$ |
213 |
private String[] fVMArgsSol = new String[8]; |
221 |
@@ -46,6 +48,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
214 |
@@ -34,11 +36,13 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
|
|
215 |
public ArgumentsInfo(IProductModel model) { |
216 |
super(model); |
217 |
this.initializeArgs(fProgramArgs); |
218 |
+ this.initializeArgs(fProgramArgsFre); |
219 |
this.initializeArgs(fProgramArgsLin); |
220 |
this.initializeArgs(fProgramArgsMac); |
221 |
this.initializeArgs(fProgramArgsSol); |
222 |
this.initializeArgs(fProgramArgsWin); |
223 |
this.initializeArgs(fVMArgs); |
224 |
+ this.initializeArgs(fVMArgsFre); |
225 |
this.initializeArgs(fVMArgsLin); |
226 |
this.initializeArgs(fVMArgsMac); |
227 |
this.initializeArgs(fVMArgsSol); |
228 |
@@ -66,6 +70,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
222 |
if (isEditable()) |
229 |
if (isEditable()) |
223 |
firePropertyChanged(P_PROG_ARGS, old, fProgramArgs); |
230 |
firePropertyChanged(P_PROG_ARGS, old, fProgramArgs[arch]); |
224 |
break; |
231 |
break; |
225 |
+ case L_ARGS_FRBSD : |
232 |
+ case L_ARGS_FRBSD : |
226 |
+ old = fProgramArgsFre; |
233 |
+ old = fProgramArgsFre[arch]; |
227 |
+ fProgramArgsFre = args; |
234 |
+ fProgramArgsFre[arch] = args; |
228 |
+ if (isEditable()) |
235 |
+ if (isEditable()) |
229 |
+ firePropertyChanged(P_PROG_ARGS_FRE, old, fProgramArgsFre); |
236 |
+ firePropertyChanged(P_PROG_ARGS_FRE, old, fProgramArgsFre[arch]); |
230 |
+ break; |
237 |
+ break; |
231 |
case L_ARGS_LINUX : |
238 |
case L_ARGS_LINUX : |
232 |
old = fProgramArgsLin; |
239 |
old = fProgramArgsLin[arch]; |
233 |
fProgramArgsLin = args; |
240 |
fProgramArgsLin[arch] = args; |
234 |
@@ -77,6 +85,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
241 |
@@ -101,6 +111,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
235 |
switch (platform) { |
242 |
switch (platform) { |
236 |
case L_ARGS_ALL : |
243 |
case L_ARGS_ALL : |
237 |
return fProgramArgs; |
244 |
return fProgramArgs[arch]; |
238 |
+ case L_ARGS_FRBSD : |
245 |
+ case L_ARGS_FRBSD : |
239 |
+ return fProgramArgsFre; |
246 |
+ return fProgramArgsFre[arch]; |
240 |
case L_ARGS_LINUX : |
247 |
case L_ARGS_LINUX : |
241 |
return fProgramArgsLin; |
248 |
return fProgramArgsLin[arch]; |
242 |
case L_ARGS_MACOS : |
249 |
case L_ARGS_MACOS : |
243 |
@@ -98,6 +108,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
250 |
@@ -150,6 +162,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
244 |
return getCompleteArgs(getProgramArguments(L_ARGS_MACOS), fProgramArgs); |
|
|
245 |
} else if (Platform.OS_SOLARIS.equals(os)) { |
251 |
} else if (Platform.OS_SOLARIS.equals(os)) { |
246 |
return getCompleteArgs(getProgramArguments(L_ARGS_SOLAR), fProgramArgs); |
252 |
archArgs = archIndex > 0 ? getProgramArguments(L_ARGS_SOLAR, archIndex) + " " + archArgsAllPlatforms : archArgsAllPlatforms; //$NON-NLS-1$ |
|
|
253 |
return getCompleteArgs(archArgs, getProgramArguments(L_ARGS_SOLAR), fProgramArgs[L_ARGS_ARCH_ALL]); |
247 |
+ } else if (Platform.OS_FREEBSD.equals(os)) { |
254 |
+ } else if (Platform.OS_FREEBSD.equals(os)) { |
248 |
+ return getCompleteArgs(getProgramArguments(L_ARGS_FRBSD), fProgramArgs); |
255 |
+ archArgs = archIndex > 0 ? getProgramArguments(L_ARGS_FRBSD, archIndex) + " " + archArgsAllPlatforms : archArgsAllPlatforms; //$NON-NLS-1$ |
|
|
256 |
+ return getCompleteArgs(archArgs, getProgramArguments(L_ARGS_FRBSD), fProgramArgs[L_ARGS_ARCH_ALL]); |
249 |
} else { |
257 |
} else { |
250 |
return getProgramArguments(L_ARGS_ALL); |
258 |
return getCompleteArgs(archArgsAllPlatforms, "", fProgramArgs[L_ARGS_ALL]); //$NON-NLS-1$ |
251 |
} |
259 |
} |
252 |
@@ -114,6 +126,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
260 |
@@ -170,6 +185,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
253 |
if (isEditable()) |
261 |
if (isEditable()) |
254 |
firePropertyChanged(P_VM_ARGS, old, fVMArgs); |
262 |
firePropertyChanged(P_VM_ARGS, old, fVMArgs[arch]); |
255 |
break; |
263 |
break; |
256 |
+ case L_ARGS_FRBSD : |
264 |
+ case L_ARGS_FRBSD : |
257 |
+ old = fVMArgsFre; |
265 |
+ old = fVMArgsFre[arch]; |
258 |
+ fVMArgsFre = args; |
266 |
+ fVMArgsFre[arch] = args; |
259 |
+ if (isEditable()) |
267 |
+ if (isEditable()) |
260 |
+ firePropertyChanged(P_VM_ARGS_FRE, old, fVMArgsFre); |
268 |
+ firePropertyChanged(P_VM_ARGS_FRE, old, fVMArgsFre[arch]); |
261 |
+ break; |
269 |
+ break; |
262 |
case L_ARGS_LINUX : |
270 |
case L_ARGS_LINUX : |
263 |
old = fVMArgsLin; |
271 |
old = fVMArgsLin[arch]; |
264 |
fVMArgsLin = args; |
272 |
fVMArgsLin[arch] = args; |
265 |
@@ -145,6 +163,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
273 |
@@ -205,6 +226,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
266 |
switch (platform) { |
274 |
switch (platform) { |
267 |
case L_ARGS_ALL : |
275 |
case L_ARGS_ALL : |
268 |
return fVMArgs; |
276 |
return fVMArgs[arch]; |
269 |
+ case L_ARGS_FRBSD : |
277 |
+ case L_ARGS_FRBSD : |
270 |
+ return fVMArgsFre; |
278 |
+ return fVMArgsFre[arch]; |
271 |
case L_ARGS_LINUX : |
279 |
case L_ARGS_LINUX : |
272 |
return fVMArgsLin; |
280 |
return fVMArgsLin[arch]; |
273 |
case L_ARGS_MACOS : |
281 |
case L_ARGS_MACOS : |
274 |
@@ -166,6 +186,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
282 |
@@ -255,6 +278,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
275 |
return getCompleteArgs(getVMArguments(L_ARGS_MACOS), fVMArgs); |
|
|
276 |
} else if (Platform.OS_SOLARIS.equals(os)) { |
283 |
} else if (Platform.OS_SOLARIS.equals(os)) { |
277 |
return getCompleteArgs(getVMArguments(L_ARGS_SOLAR), fVMArgs); |
284 |
archArgs = archIndex > 0 ? getVMArguments(L_ARGS_SOLAR, archIndex) + " " + archArgsAllPlatforms : archArgsAllPlatforms; //$NON-NLS-1$ |
|
|
285 |
return getCompleteArgs(archArgs, getVMArguments(L_ARGS_SOLAR), fVMArgs[L_ARGS_ARCH_ALL]); |
278 |
+ } else if (Platform.OS_FREEBSD.equals(os)) { |
286 |
+ } else if (Platform.OS_FREEBSD.equals(os)) { |
279 |
+ return getCompleteArgs(getVMArguments(L_ARGS_FRBSD), fVMArgs); |
287 |
+ archArgs = archIndex > 0 ? getVMArguments(L_ARGS_FRBSD, archIndex) + " " + archArgsAllPlatforms : archArgsAllPlatforms; //$NON-NLS-1$ |
|
|
288 |
+ return getCompleteArgs(archArgs, getVMArguments(L_ARGS_FRBSD), fVMArgs[L_ARGS_ARCH_ALL]); |
280 |
} else { |
289 |
} else { |
281 |
return getVMArguments(L_ARGS_ALL); |
290 |
return getCompleteArgs(archArgsAllPlatforms, "", fVMArgs[L_ARGS_ARCH_ALL]); //$NON-NLS-1$ |
282 |
} |
291 |
} |
283 |
@@ -193,6 +215,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
292 |
@@ -278,6 +304,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
284 |
fProgramArgsSol = getText(child); |
293 |
if (child.getNodeName().equals(P_PROG_ARGS)) { |
285 |
} else if (child.getNodeName().equals(P_PROG_ARGS_WIN)) { |
294 |
parentArgs = fProgramArgs; |
286 |
fProgramArgsWin = getText(child); |
295 |
fProgramArgs[L_ARGS_ARCH_ALL] = getText(child).trim(); |
287 |
+ } else if (child.getNodeName().equals(P_PROG_ARGS_FRE)) { |
296 |
+ } else if (child.getNodeName().equals(P_PROG_ARGS_FRE)) { |
288 |
+ fProgramArgsFre = getText(child); |
297 |
+ parentArgs = fProgramArgsFre; |
|
|
298 |
+ fProgramArgsFre[L_ARGS_ARCH_ALL] = getText(child).trim(); |
299 |
} else if (child.getNodeName().equals(P_PROG_ARGS_LIN)) { |
300 |
parentArgs = fProgramArgsLin; |
301 |
fProgramArgsLin[L_ARGS_ARCH_ALL] = getText(child).trim(); |
302 |
@@ -293,6 +322,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
289 |
} else if (child.getNodeName().equals(P_VM_ARGS)) { |
303 |
} else if (child.getNodeName().equals(P_VM_ARGS)) { |
290 |
fVMArgs = getText(child); |
304 |
parentArgs = fVMArgs; |
|
|
305 |
fVMArgs[L_ARGS_ARCH_ALL] = getText(child).trim(); |
306 |
+ } else if (child.getNodeName().equals(P_VM_ARGS_FRE)) { |
307 |
+ parentArgs = fVMArgsFre; |
308 |
+ fVMArgsFre[L_ARGS_ARCH_ALL] = getText(child).trim(); |
291 |
} else if (child.getNodeName().equals(P_VM_ARGS_LIN)) { |
309 |
} else if (child.getNodeName().equals(P_VM_ARGS_LIN)) { |
292 |
@@ -203,6 +227,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
310 |
parentArgs = fVMArgsLin; |
293 |
fVMArgsSol = getText(child); |
311 |
fVMArgsLin[L_ARGS_ARCH_ALL] = getText(child).trim(); |
294 |
} else if (child.getNodeName().equals(P_VM_ARGS_WIN)) { |
312 |
@@ -353,6 +385,15 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
295 |
fVMArgsWin = getText(child); |
313 |
writeArchArgs(fProgramArgs, subIndent, writer); |
296 |
+ } else if (child.getNodeName().equals(P_VM_ARGS_FRE)) { |
314 |
writer.println(subIndent + "</" + P_PROG_ARGS + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
297 |
+ fVMArgsFre = getText(child); |
|
|
298 |
} |
299 |
} |
300 |
} |
315 |
} |
301 |
@@ -234,6 +260,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
316 |
+ if (hasArgs(fProgramArgsFre)) { |
302 |
if (fProgramArgsWin.length() > 0) { |
317 |
+ writer.print(subIndent + "<" + P_PROG_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
303 |
writer.println(indent + " " + "<" + P_PROG_ARGS_WIN + ">" + getWritableString(fProgramArgsWin) + "</" + P_PROG_ARGS_WIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
318 |
+ if (fProgramArgsFre[L_ARGS_ARCH_ALL].length() > 0) { |
304 |
} |
319 |
+ writer.print(getWritableString(fProgramArgsFre[L_ARGS_ARCH_ALL])); |
305 |
+ if (fProgramArgsFre.length() > 0) { |
320 |
+ } |
306 |
+ writer.println(indent + " " + "<" + P_PROG_ARGS_FRE + ">" + getWritableString(fProgramArgsFre) + "</" + P_PROG_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
321 |
+ writer.println(); |
|
|
322 |
+ writeArchArgs(fProgramArgsFre, subIndent, writer); |
323 |
+ writer.println(subIndent + "</" + P_PROG_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
307 |
+ } |
324 |
+ } |
308 |
if (fVMArgs.length() > 0) { |
325 |
if (hasArgs(fProgramArgsLin)) { |
309 |
writer.println(indent + " " + "<" + P_VM_ARGS + ">" + getWritableString(fVMArgs) + "</" + P_VM_ARGS + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
326 |
writer.print(subIndent + "<" + P_PROG_ARGS_LIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
|
|
327 |
if (fProgramArgsLin[L_ARGS_ARCH_ALL].length() > 0) { |
328 |
@@ -398,6 +439,15 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
329 |
writeArchArgs(fVMArgs, subIndent, writer); |
330 |
writer.println(subIndent + "</" + P_VM_ARGS + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
310 |
} |
331 |
} |
311 |
@@ -249,6 +278,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo { |
332 |
+ if (hasArgs(fVMArgsFre)) { |
312 |
if (fVMArgsWin.length() > 0) { |
333 |
+ writer.print(subIndent + "<" + P_VM_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
313 |
writer.println(indent + " " + "<" + P_VM_ARGS_WIN + ">" + getWritableString(fVMArgsWin) + "</" + P_VM_ARGS_WIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
334 |
+ if (fVMArgsFre[L_ARGS_ARCH_ALL].length() > 0) { |
314 |
} |
335 |
+ writer.print(getWritableString(fVMArgsFre[L_ARGS_ARCH_ALL])); |
315 |
+ if (fVMArgsFre.length() > 0) { |
336 |
+ } |
316 |
+ writer.println(indent + " " + "<" + P_VM_ARGS_FRE + ">" + getWritableString(fVMArgsFre) + "</" + P_VM_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
337 |
+ writer.println(); |
|
|
338 |
+ writeArchArgs(fVMArgsFre, subIndent, writer); |
339 |
+ writer.println(subIndent + "</" + P_VM_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
317 |
+ } |
340 |
+ } |
318 |
writer.println(indent + "</launcherArgs>"); //$NON-NLS-1$ |
341 |
if (hasArgs(fVMArgsLin)) { |
319 |
} |
342 |
writer.print(subIndent + "<" + P_VM_ARGS_LIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ |
320 |
|
343 |
if (fVMArgsLin[L_ARGS_ARCH_ALL].length() > 0) { |
321 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java |
344 |
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java |
322 |
index c3c286b..ab12da0 100644 |
345 |
index c3c286b..ab12da0 100644 |
323 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java |
346 |
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java |
Lines 737-746
Link Here
|
737 |
presentation.add(implementation); |
760 |
presentation.add(implementation); |
738 |
|
761 |
|
739 |
diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
762 |
diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
740 |
index 4be88a5..27e2cd3 100644 |
763 |
index 7e7e8ac..72c8597 100644 |
741 |
--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
764 |
--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
742 |
+++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
765 |
+++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml |
743 |
@@ -59,6 +59,7 @@ |
766 |
@@ -60,6 +60,7 @@ |
744 |
<plugin id="org.eclipse.core.filesystem.aix.ppc"/> |
767 |
<plugin id="org.eclipse.core.filesystem.aix.ppc"/> |
745 |
<plugin id="org.eclipse.core.filesystem.aix.ppc64"/> |
768 |
<plugin id="org.eclipse.core.filesystem.aix.ppc64"/> |
746 |
<plugin id="org.eclipse.core.filesystem.hpux.ia64"/> |
769 |
<plugin id="org.eclipse.core.filesystem.hpux.ia64"/> |
Lines 748-779
Link Here
|
748 |
<plugin id="org.eclipse.core.filesystem.linux.x86"/> |
771 |
<plugin id="org.eclipse.core.filesystem.linux.x86"/> |
749 |
<plugin id="org.eclipse.core.filesystem.linux.x86_64"/> |
772 |
<plugin id="org.eclipse.core.filesystem.linux.x86_64"/> |
750 |
<plugin id="org.eclipse.core.filesystem.solaris.sparc"/> |
773 |
<plugin id="org.eclipse.core.filesystem.solaris.sparc"/> |
751 |
@@ -73,9 +75,13 @@ |
774 |
@@ -70,11 +72,16 @@ |
|
|
775 |
<plugin id="org.eclipse.core.filesystem.linux.ppc64"/> |
776 |
<plugin id="org.eclipse.core.resources.win32.x86"/> |
777 |
<plugin id="org.eclipse.core.resources.win32.x86_64"/> |
778 |
+ <plugin id="org.eclipse.core.net.freebsd.%%ECLIPSE_ARCH%%"/> |
779 |
<plugin id="org.eclipse.core.net.linux.x86"/> |
752 |
<plugin id="org.eclipse.core.net.linux.x86_64"/> |
780 |
<plugin id="org.eclipse.core.net.linux.x86_64"/> |
753 |
<plugin id="org.eclipse.core.net.win32.x86"/> |
781 |
<plugin id="org.eclipse.core.net.win32.x86"/> |
754 |
<plugin id="org.eclipse.core.net.win32.x86_64"/> |
782 |
<plugin id="org.eclipse.core.net.win32.x86_64"/> |
755 |
+ <plugin id="org.eclipse.compare.win32"/> |
|
|
756 |
+ <plugin id="org.eclipse.ui.win32"/> |
757 |
<plugin id="org.eclipse.update.core.linux"/> |
758 |
<plugin id="org.eclipse.update.core.win32"/> |
759 |
<plugin id="org.eclipse.equinox.security.macosx"/> |
783 |
<plugin id="org.eclipse.equinox.security.macosx"/> |
760 |
+ <plugin id="org.eclipse.equinox.security.win32.x86"/> |
784 |
+ <plugin id="org.eclipse.equinox.security.win32.x86"/> |
761 |
+ <plugin id="org.eclipse.equinox.security.win32.x86_64"/> |
785 |
+ <plugin id="org.eclipse.equinox.security.win32.x86_64"/> |
|
|
786 |
+ <plugin id="org.eclipse.compare.win32"/> |
787 |
+ <plugin id="org.eclipse.ui.win32"/> |
762 |
</excludes> |
788 |
</excludes> |
763 |
</configuration> |
789 |
</configuration> |
764 |
</execution> |
790 |
</execution> |
765 |
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
791 |
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
766 |
index c949520..11ee54a 100644 |
792 |
index d8c8edf..886e7d8 100644 |
767 |
--- a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
793 |
--- a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
768 |
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
794 |
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml |
769 |
@@ -36,6 +36,7 @@ |
795 |
@@ -39,11 +39,9 @@ |
770 |
<configuration> |
796 |
<features> |
|
|
797 |
<feature id="org.eclipse.sdk.examples"/> |
798 |
</features> |
799 |
- <!-- |
771 |
<excludes> |
800 |
<excludes> |
772 |
<plugin id="org.eclipse.sdk.examples"/> |
801 |
- <plugin id="org.eclipse.sdk.examples"/> |
773 |
+ <plugin id="org.eclipse.swt.examples.ole.win32"/> |
802 |
+ <plugin id="org.eclipse.swt.examples.ole.win32"/> |
774 |
<feature id="org.eclipse.sdk.examples.source"/> |
|
|
775 |
</excludes> |
803 |
</excludes> |
|
|
804 |
- --> |
776 |
</configuration> |
805 |
</configuration> |
|
|
806 |
</execution> |
807 |
</executions> |
777 |
diff --git a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java b/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java |
808 |
diff --git a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java b/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java |
778 |
index a335001..003e20a 100644 |
809 |
index a335001..003e20a 100644 |
779 |
--- a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java |
810 |
--- a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java |
Lines 795-801
Link Here
|
795 |
|
826 |
|
796 |
<modules> |
827 |
<modules> |
797 |
<module>bundles/org.eclipse.core.filesystem</module> |
828 |
<module>bundles/org.eclipse.core.filesystem</module> |
798 |
+ <module>bundles/org.eclipse.core.filesystem.freebsd.%%ECLIPSE_ARCH%%</module> |
829 |
+ <module>bundles/org.eclipse.core.filesystem/fragments/org.eclipse.core.filesystem.freebsd.%%ECLIPSE_ARCH%%</module> |
799 |
<module>bundles/org.eclipse.core.filesystem.hpux.ia64</module> |
830 |
<module>bundles/org.eclipse.core.filesystem.hpux.ia64</module> |
800 |
<module>bundles/org.eclipse.core.filesystem.hpux.PA_RISC</module> |
831 |
<module>bundles/org.eclipse.core.filesystem.hpux.PA_RISC</module> |
801 |
<module>bundles/org.eclipse.core.filesystem.linux.ppc</module> |
832 |
<module>bundles/org.eclipse.core.filesystem.linux.ppc</module> |
Lines 909-928
Link Here
|
909 |
index 689616e..86afdfe 100644 |
940 |
index 689616e..86afdfe 100644 |
910 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh |
941 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh |
911 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh |
942 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh |
912 |
@@ -12,12 +12,12 @@ |
|
|
913 |
# Tom Tromey (Red Hat, Inc.) |
914 |
#******************************************************************************* |
915 |
|
916 |
+COMPONENTS_DIR=`pwd`/../../components |
917 |
cd `dirname $0` |
918 |
|
919 |
MAKE_TYPE=make |
920 |
|
921 |
# Check if we have to compile external.xpt from external.idl |
922 |
-COMPONENTS_DIR=`pwd`/../../components |
923 |
if test ! -f ${COMPONENTS_DIR}/external.xpt; then |
924 |
if test ! -f ${COMPONENTS_DIR}/external.idl; then |
925 |
echo "Can't find ${COMPONENTS_DIR}/external.idl" |
926 |
@@ -64,6 +64,8 @@ case $OS in |
943 |
@@ -64,6 +64,8 @@ case $OS in |
927 |
"FreeBSD") |
944 |
"FreeBSD") |
928 |
SWT_OS=freebsd |
945 |
SWT_OS=freebsd |
Lines 1014-1022
Link Here
|
1014 |
+ ${MAKE_TYPE} -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA $MAKE_WEBKIT ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} |
1031 |
+ ${MAKE_TYPE} -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA $MAKE_WEBKIT ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} |
1015 |
fi |
1032 |
fi |
1016 |
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
1033 |
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
1017 |
index 0bf9416..e955aa9 100644 |
1034 |
index d2da90e..51989f8 100644 |
1018 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
1035 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
1019 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
1036 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak |
|
|
1037 |
@@ -1,5 +1,5 @@ |
1038 |
#******************************************************************************* |
1039 |
-# Copyright (c) 2000, 2011 IBM Corporation and others. |
1040 |
+# Copyright (c) 2000, 2012 IBM Corporation and others. |
1041 |
# All rights reserved. This program and the accompanying materials |
1042 |
# are made available under the terms of the Eclipse Public License v1.0 |
1043 |
# which accompanies this distribution, and is available at |
1020 |
@@ -9,7 +9,7 @@ |
1044 |
@@ -9,7 +9,7 @@ |
1021 |
# IBM Corporation - initial API and implementation |
1045 |
# IBM Corporation - initial API and implementation |
1022 |
#******************************************************************************* |
1046 |
#******************************************************************************* |
Lines 1026-1191
Link Here
|
1026 |
|
1050 |
|
1027 |
include make_common.mak |
1051 |
include make_common.mak |
1028 |
|
1052 |
|
1029 |
@@ -27,6 +27,7 @@ GNOME_PREFIX = swt-gnome |
1053 |
@@ -21,13 +21,19 @@ WS_PREFIX = gtk |
|
|
1054 |
SWT_PREFIX = swt |
1055 |
CDE_PREFIX = swt-cde |
1056 |
AWT_PREFIX = swt-awt |
1057 |
+ifeq ($(GTK_VERSION), 3.0) |
1058 |
+SWTPI_PREFIX = swt-pi3 |
1059 |
+else |
1060 |
SWTPI_PREFIX = swt-pi |
1061 |
+endif |
1062 |
CAIRO_PREFIX = swt-cairo |
1063 |
ATK_PREFIX = swt-atk |
1064 |
GNOME_PREFIX = swt-gnome |
1030 |
MOZILLA_PREFIX = swt-mozilla$(GCC_VERSION) |
1065 |
MOZILLA_PREFIX = swt-mozilla$(GCC_VERSION) |
1031 |
XULRUNNER_PREFIX = swt-xulrunner |
1066 |
XULRUNNER_PREFIX = swt-xulrunner |
|
|
1067 |
+XULRUNNER24_PREFIX = swt-xulrunner24 |
1032 |
XPCOMINIT_PREFIX = swt-xpcominit |
1068 |
XPCOMINIT_PREFIX = swt-xpcominit |
1033 |
+WEBKIT_PREFIX = swt-webkit |
1069 |
+WEBKIT_PREFIX = swt-webkit |
1034 |
GLX_PREFIX = swt-glx |
1070 |
GLX_PREFIX = swt-glx |
1035 |
|
1071 |
|
1036 |
SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1072 |
SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1037 |
@@ -39,6 +40,7 @@ GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1073 |
@@ -39,28 +45,36 @@ ATK_LIB = lib$(ATK_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
|
|
1074 |
GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1038 |
MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1075 |
MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1039 |
XULRUNNER_LIB = lib$(XULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1076 |
XULRUNNER_LIB = lib$(XULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
|
|
1077 |
+XULRUNNER24_LIB = lib$(XULRUNNER24_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1040 |
XPCOMINIT_LIB = lib$(XPCOMINIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1078 |
XPCOMINIT_LIB = lib$(XPCOMINIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1041 |
+WEBKIT_LIB = lib$(WEBKIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1079 |
+WEBKIT_LIB = lib$(WEBKIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1042 |
GLX_LIB = lib$(GLX_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1080 |
GLX_LIB = lib$(GLX_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so |
1043 |
|
1081 |
|
1044 |
CAIROCFLAGS = `pkg-config --cflags cairo` |
1082 |
CAIROCFLAGS = `pkg-config --cflags cairo` |
1045 |
@@ -46,7 +48,7 @@ CAIROLIBS = `pkg-config --libs-only-L cairo` -lcairo |
1083 |
CAIROLIBS = `pkg-config --libs-only-L cairo` -lcairo |
1046 |
|
1084 |
|
1047 |
# Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0) |
1085 |
# Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0) |
1048 |
GTKCFLAGS = `pkg-config --cflags gtk+-2.0` |
1086 |
-GTKCFLAGS = `pkg-config --cflags gtk+-2.0 gtk+-unix-print-$(GTK_VERSION)` |
1049 |
-GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/X11R6/lib $(XLIB64) -lXtst |
1087 |
-GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/X11R6/lib $(XLIB64) -lXtst |
1050 |
+GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/local/lib $(XLIB64) -lXtst |
1088 |
+GTKCFLAGS = `pkg-config --cflags gtk+-$(GTK_VERSION) gtk+-unix-print-$(GTK_VERSION)` |
|
|
1089 |
+ifeq ($(GTK_VERSION), 3.0) |
1090 |
+GTKLIBS = `pkg-config --libs-only-L gtk+-$(GTK_VERSION) gthread-2.0` $(XLIB64) -L/usr/X11R6/lib -lgtk-3 -lgdk-3 -lcairo -lgthread-2.0 -lXtst |
1091 |
+else |
1092 |
+GTKLIBS = `pkg-config --libs-only-L gtk+-$(GTK_VERSION) gthread-2.0` $(XLIB64) -L/usr/X11R6/lib -lgtk-x11-$(GTK_VERSION) -lgthread-2.0 -lXtst |
1093 |
+endif |
1051 |
|
1094 |
|
1052 |
CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc |
1095 |
CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc |
1053 |
|
1096 |
|
1054 |
@@ -59,7 +61,8 @@ ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0 |
1097 |
-AWT_LFLAGS = -shared |
|
|
1098 |
+AWT_LFLAGS = -shared ${SWT_LFLAGS} |
1099 |
AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt |
1100 |
|
1101 |
-ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0 gtk+-unix-print-$(GTK_VERSION)` |
1102 |
-ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0 |
1103 |
+ATKCFLAGS = `pkg-config --cflags atk gtk+-$(GTK_VERSION) gtk+-unix-print-$(GTK_VERSION)` |
1104 |
+ATKLIBS = `pkg-config --libs-only-L atk` -latk-1.0 |
1105 |
|
1055 |
GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` |
1106 |
GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` |
1056 |
GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2 |
1107 |
GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2 |
1057 |
|
1108 |
|
1058 |
-GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm |
1109 |
-GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm |
1059 |
+GLXCFLAGS = -I/usr/local/include |
1110 |
+GLXLIBS = -lGL -lGLU -lm |
1060 |
+GLXLIBS = -L/usr/local/lib -lGL -lGLU -lm |
1111 |
+ |
|
|
1112 |
+SWT_LFLAGS = -L/usr/local/lib |
1061 |
|
1113 |
|
1062 |
# Uncomment for Native Stats tool |
1114 |
# Uncomment for Native Stats tool |
1063 |
#NATIVE_STATS = -DNATIVE_STATS |
1115 |
#NATIVE_STATS = -DNATIVE_STATS |
1064 |
@@ -76,9 +79,22 @@ MOZILLACFLAGS = -O \ |
1116 |
@@ -75,11 +89,24 @@ MOZILLACFLAGS = -O \ |
|
|
1117 |
-Wno-non-virtual-dtor \ |
1118 |
-fPIC \ |
1065 |
-I. \ |
1119 |
-I. \ |
|
|
1120 |
+ -I/usr/local/include \ |
1066 |
-I$(JAVA_HOME)/include \ |
1121 |
-I$(JAVA_HOME)/include \ |
1067 |
-I$(JAVA_HOME)/include/freebsd \ |
1122 |
-I$(JAVA_HOME)/include/freebsd \ |
1068 |
+ -std=c++11 \ |
|
|
1069 |
${SWT_PTR_CFLAGS} |
1123 |
${SWT_PTR_CFLAGS} |
1070 |
MOZILLALFLAGS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic |
1124 |
-MOZILLALFLAGS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic |
1071 |
+XULRUNNER_EXCLUDES =-DNO__1XPCOMGlueShutdown |
1125 |
- |
|
|
1126 |
+MOZILLALFLAGS = -shared ${SWT_LFLAGS} -Wl,--version-script=mozilla_exports -Bsymbolic |
1127 |
+MOZILLAEXCLUDES = -DNO__1XPCOMGlueShutdown \ |
1128 |
+ -DNO__1XPCOMGlueStartup \ |
1129 |
+ -DNO__1XPCOMGlueLoadXULFunctions \ |
1130 |
+ -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2I \ |
1131 |
+ -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J \ |
1132 |
+ -DNO_nsDynamicFunctionLoad_1sizeof \ |
1133 |
+ -DNO__1Call__IIIIII \ |
1134 |
+ -DNO__1Call__JJJJJI \ |
1135 |
+ -DNO_nsDynamicFunctionLoad |
1136 |
+XULRUNNEREXCLUDES = -DNO__1NS_1InitXPCOM2 |
1072 |
+ |
1137 |
+ |
1073 |
+WEBKITCFLAGS = `pkg-config --cflags glib-2.0` |
1138 |
+WEBKITCFLAGS = `pkg-config --cflags glib-2.0` |
1074 |
+ |
1139 |
+ |
1075 |
+SWT_OBJECTS = swt.o c.o c_stats.o callback.o |
|
|
1076 |
+CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o |
1077 |
+AWT_OBJECTS = swt_awt.o |
1078 |
+SWTPI_OBJECTS = swt.o os.o os_structs.o os_custom.o os_stats.o |
1079 |
+CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o |
1080 |
+ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o |
1081 |
|
1082 |
+WEBKITCFLAGS = `pkg-config --cflags glib-2.0` |
1083 |
+ |
1084 |
SWT_OBJECTS = swt.o c.o c_stats.o callback.o |
1140 |
SWT_OBJECTS = swt.o c.o c_stats.o callback.o |
1085 |
CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o |
1141 |
CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o |
1086 |
AWT_OBJECTS = swt_awt.o |
1142 |
AWT_OBJECTS = swt_awt.o |
1087 |
@@ -87,8 +103,9 @@ CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o |
1143 |
@@ -88,19 +115,22 @@ CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o |
1088 |
ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o |
1144 |
ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o |
1089 |
GNOME_OBJECTS = swt.o gnome.o gnome_structs.o gnome_stats.o |
1145 |
GNOME_OBJECTS = swt.o gnome.o gnome_structs.o gnome_stats.o |
1090 |
MOZILLA_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o |
1146 |
MOZILLA_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o |
1091 |
-XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o xpcomxulglue.o xpcomxulglue_stats.o |
1147 |
-XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o xpcomxulglue.o xpcomxulglue_stats.o |
1092 |
+XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o |
1148 |
+XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o |
|
|
1149 |
+XULRUNNER24_OBJECTS = swt.o xpcom24_custom.o |
1093 |
XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o |
1150 |
XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o |
1094 |
+WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o |
1151 |
+WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o |
1095 |
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o |
1152 |
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o |
1096 |
|
1153 |
|
1097 |
CFLAGS = -O -Wall \ |
1154 |
CFLAGS = -O -Wall \ |
1098 |
@@ -101,13 +118,16 @@ CFLAGS = -O -Wall \ |
1155 |
-DSWT_VERSION=$(SWT_VERSION) \ |
|
|
1156 |
$(NATIVE_STATS) \ |
1157 |
-DFREEBSD -DGTK \ |
1158 |
+ -I/usr/local/include \ |
1159 |
-I$(JAVA_HOME)/include \ |
1160 |
-I$(JAVA_HOME)/include/freebsd \ |
1161 |
-fPIC \ |
1099 |
${SWT_PTR_CFLAGS} |
1162 |
${SWT_PTR_CFLAGS} |
1100 |
LFLAGS = -shared -fPIC |
1163 |
-LFLAGS = -shared -fPIC |
|
|
1164 |
+LFLAGS = -shared -fPIC ${SWT_LFLAGS} |
1101 |
|
1165 |
|
1102 |
+CFLAGS := $(CFLAGS) -I/usr/local/include |
|
|
1103 |
+LDFLAGS := $(LDFLAGS) -L/usr/local/lib |
1104 |
+ |
1105 |
ifndef NO_STRIP |
1166 |
ifndef NO_STRIP |
1106 |
AWT_LFLAGS := $(AWT_LFLAGS) -s |
1167 |
AWT_LFLAGS := $(AWT_LFLAGS) -s |
1107 |
MOZILLALFLAGS := $(MOZILLALFLAGS) -s |
1168 |
@@ -108,7 +138,7 @@ ifndef NO_STRIP |
1108 |
LFLAGS := $(LFLAGS) -s |
1169 |
LFLAGS := $(LFLAGS) -s |
1109 |
endif |
1170 |
endif |
1110 |
|
1171 |
|
1111 |
-all: make_swt make_atk make_gnome make_glx |
1172 |
-all: make_swt make_atk make_gnome make_glx |
1112 |
+all: make_swt make_atk make_glx |
1173 |
+all: make_swt make_atk make_glx make_webkit |
1113 |
|
1174 |
|
1114 |
# |
1175 |
# |
1115 |
# SWT libs |
1176 |
# SWT libs |
1116 |
@@ -164,7 +184,7 @@ $(CDE_LIB): $(CDE_OBJECTS) |
1177 |
@@ -210,42 +240,47 @@ $(MOZILLA_LIB): $(MOZILLA_OBJECTS) |
1117 |
make_awt:$(AWT_LIB) |
1178 |
$(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} |
1118 |
|
1179 |
|
1119 |
$(AWT_LIB): $(AWT_OBJECTS) |
1180 |
xpcom.o: xpcom.cpp |
1120 |
- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) |
|
|
1121 |
+ $(CC) $(CFLAGS) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS) |
1122 |
|
1123 |
# |
1124 |
# Atk lib |
1125 |
@@ -203,22 +223,22 @@ gnome_stats.o: gnome_stats.c gnome_stats.h |
1126 |
# |
1127 |
# Mozilla lib |
1128 |
# |
1129 |
-make_mozilla:$(MOZILLA_LIB) |
1130 |
+##make_mozilla:$(MOZILLA_LIB) |
1131 |
|
1132 |
-$(MOZILLA_LIB): $(MOZILLA_OBJECTS) |
1133 |
- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} |
1134 |
+##$(MOZILLA_LIB): $(MOZILLA_OBJECTS) |
1135 |
+## $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS} |
1136 |
|
1137 |
-xpcom.o: xpcom.cpp |
1138 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp |
1181 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp |
1139 |
+##xpcom.o: xpcom.cpp |
1182 |
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom.cpp |
1140 |
+## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp |
|
|
1141 |
|
1183 |
|
1142 |
-xpcom_structs.o: xpcom_structs.cpp |
1184 |
xpcom_structs.o: xpcom_structs.cpp |
1143 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp |
1185 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp |
1144 |
+##xpcom_structs.o: xpcom_structs.cpp |
1186 |
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp |
1145 |
+## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp |
|
|
1146 |
|
1187 |
|
1147 |
-xpcom_custom.o: xpcom_custom.cpp |
1188 |
xpcom_custom.o: xpcom_custom.cpp |
1148 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp |
1189 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp |
1149 |
+##xpcom_custom.o: xpcom_custom.cpp |
1190 |
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp |
1150 |
+## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp |
|
|
1151 |
|
1191 |
|
1152 |
-xpcom_stats.o: xpcom_stats.cpp |
1192 |
xpcom_stats.o: xpcom_stats.cpp |
1153 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp |
1193 |
- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp |
1154 |
+##xpcom_stats.o: xpcom_stats.cpp |
1194 |
+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp |
1155 |
+## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp |
|
|
1156 |
|
1195 |
|
1157 |
# |
1196 |
# |
1158 |
# XULRunner lib |
1197 |
-# XULRunner lib |
1159 |
@@ -229,22 +249,22 @@ $(XULRUNNER_LIB): $(XULRUNNER_OBJECTS) |
1198 |
+# XULRunner libs |
|
|
1199 |
# |
1200 |
make_xulrunner:$(XULRUNNER_LIB) |
1201 |
|
1202 |
$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS) |
1203 |
+ echo -e "#include<stdlib.h>\nsize_t je_malloc_usable_size_in_advance(size_t n) {\nreturn n;\n}" | $(CXX) $(LFLAGS) $(CFLAGS) -xc - -o libswt-xulrunner-fix10.so |
1160 |
$(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} |
1204 |
$(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS} |
1161 |
|
1205 |
|
1162 |
xpcomxul.o: xpcom.cpp |
1206 |
xpcomxul.o: xpcom.cpp |
1163 |
- $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp |
1207 |
- $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp |
1164 |
+ $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom.cpp |
1208 |
+ $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom.cpp |
1165 |
|
1209 |
|
1166 |
xpcomxul_structs.o: xpcom_structs.cpp |
1210 |
xpcomxul_structs.o: xpcom_structs.cpp |
1167 |
- $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp |
1211 |
- $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp |
1168 |
+ $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp |
1212 |
+ $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp |
1169 |
|
1213 |
|
1170 |
xpcomxul_custom.o: xpcom_custom.cpp |
1214 |
xpcomxul_custom.o: xpcom_custom.cpp |
1171 |
- $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp |
1215 |
- $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp |
1172 |
+ $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp |
1216 |
+ $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp |
1173 |
|
1217 |
|
1174 |
xpcomxul_stats.o: xpcom_stats.cpp |
1218 |
xpcomxul_stats.o: xpcom_stats.cpp |
1175 |
- $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp |
1219 |
- $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp |
1176 |
+ $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp |
1220 |
+ $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp |
|
|
1221 |
+ |
1222 |
+ |
1223 |
+make_xulrunner24:$(XULRUNNER24_LIB) |
1177 |
|
1224 |
|
1178 |
xpcomxulglue.o: xpcomglue.cpp |
1225 |
-xpcomxulglue.o: xpcomglue.cpp |
1179 |
- $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue.cpp |
1226 |
- $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue.cpp |
1180 |
+ $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcomglue.cpp |
1227 |
+$(XULRUNNER24_LIB): $(XULRUNNER24_OBJECTS) |
|
|
1228 |
+ echo -e "#include<stdlib.h>\nsize_t je_malloc_usable_size_in_advance(size_t n) {\nreturn n;\n}" | $(CXX) $(LFLAGS) $(CFLAGS) -L${XULRUNNER24_SDK}/lib -Wl,--whole-archive -lmozglue -Wl,--no-whole-archive -xc - -o libswt-xulrunner-fix24.so |
1229 |
+ $(CXX) -o $(XULRUNNER24_LIB) $(XULRUNNER24_OBJECTS) $(MOZILLALFLAGS) -L${XULRUNNER24_SDK}/lib -lxpcomglue |
1181 |
|
1230 |
|
1182 |
xpcomxulglue_stats.o: xpcomglue_stats.cpp |
1231 |
-xpcomxulglue_stats.o: xpcomglue_stats.cpp |
1183 |
- $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp |
1232 |
- $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp |
1184 |
+ $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp |
1233 |
+xpcom24_custom.o: xpcom24_custom.cpp |
|
|
1234 |
+ $(CXX) $(MOZILLACFLAGS) -c xpcom24_custom.cpp |
1185 |
|
1235 |
|
1186 |
# |
1236 |
# |
1187 |
# XPCOMInit lib |
1237 |
# XPCOMInit lib |
1188 |
@@ -264,6 +284,23 @@ xpcominit_stats.o: xpcominit_stats.cpp |
1238 |
@@ -265,6 +300,23 @@ xpcominit_stats.o: xpcominit_stats.cpp |
1189 |
$(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit_stats.cpp |
1239 |
$(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit_stats.cpp |
1190 |
|
1240 |
|
1191 |
# |
1241 |
# |
Lines 1232-1248
Link Here
|
1232 |
#endif |
1282 |
#endif |
1233 |
|
1283 |
|
1234 |
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1284 |
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1235 |
index 7e282a9..59f36c5 100644 |
1285 |
index cc81dd1..fa992cd 100644 |
1236 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1286 |
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1237 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1287 |
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java |
1238 |
@@ -33,18 +33,19 @@ public class OS extends C { |
1288 |
@@ -47,18 +47,19 @@ public class OS extends C { |
1239 |
} |
1289 |
} |
1240 |
|
1290 |
|
1241 |
/** OS Constants */ |
1291 |
/** OS Constants */ |
1242 |
- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, BIG_ENDIAN; |
1292 |
- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, BIG_ENDIAN; |
1243 |
+ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD, BIG_ENDIAN; |
1293 |
+ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD, BIG_ENDIAN; |
1244 |
static { |
1294 |
static { |
1245 |
|
1295 |
|
1246 |
/* Initialize the OS flags and locale constants */ |
1296 |
/* Initialize the OS flags and locale constants */ |
1247 |
String osName = System.getProperty ("os.name"); |
1297 |
String osName = System.getProperty ("os.name"); |
1248 |
- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false; |
1298 |
- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false; |
Lines 1254-1268
Link Here
|
1254 |
if (osName.equals ("HP-UX")) isHPUX = true; |
1304 |
if (osName.equals ("HP-UX")) isHPUX = true; |
1255 |
- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; |
1305 |
- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; |
1256 |
+ if (osName.equals ("FreeBSD")) isFreeBSD = true; |
1306 |
+ if (osName.equals ("FreeBSD")) isFreeBSD = true; |
1257 |
+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; IsFreeBSD = isFreeBSD; |
1307 |
+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; IsFreeBSD = isFreeBSD; |
1258 |
|
1308 |
|
1259 |
byte[] buffer = new byte[4]; |
1309 |
byte[] buffer = new byte[4]; |
1260 |
long /*int*/ ptr = OS.malloc(4); |
1310 |
long /*int*/ ptr = OS.malloc(4); |
1261 |
diff --git a/eclipse.platform.swt.binaries/pom.xml b/eclipse.platform.swt.binaries/pom.xml |
1311 |
diff --git a/eclipse.platform.swt.binaries/pom.xml b/eclipse.platform.swt.binaries/pom.xml |
1262 |
index 7dd0536..fc0d72c 100644 |
1312 |
index cc8d6f7..46c8f5a 100644 |
1263 |
--- a/eclipse.platform.swt.binaries/pom.xml |
1313 |
--- a/eclipse.platform.swt.binaries/pom.xml |
1264 |
+++ b/eclipse.platform.swt.binaries/pom.xml |
1314 |
+++ b/eclipse.platform.swt.binaries/pom.xml |
1265 |
@@ -55,6 +55,7 @@ |
1315 |
@@ -55,7 +56,8 @@ |
1266 |
<module>bundles/org.eclipse.swt.gtk.linux.s390x</module> |
1316 |
<module>bundles/org.eclipse.swt.gtk.linux.s390x</module> |
1267 |
<module>bundles/org.eclipse.swt.gtk.linux.x86</module> |
1317 |
<module>bundles/org.eclipse.swt.gtk.linux.x86</module> |
1268 |
<module>bundles/org.eclipse.swt.gtk.linux.x86_64</module> |
1318 |
<module>bundles/org.eclipse.swt.gtk.linux.x86_64</module> |
Lines 1270-1275
Link Here
|
1270 |
<module>bundles/org.eclipse.swt.gtk.solaris.sparc</module> |
1320 |
<module>bundles/org.eclipse.swt.gtk.solaris.sparc</module> |
1271 |
<module>bundles/org.eclipse.swt.gtk.solaris.x86</module> |
1321 |
<module>bundles/org.eclipse.swt.gtk.solaris.x86</module> |
1272 |
<module>bundles/org.eclipse.swt.win32.win32.x86</module> |
1322 |
<module>bundles/org.eclipse.swt.win32.win32.x86</module> |
|
|
1323 |
<module>bundles/org.eclipse.swt.win32.win32.x86_64</module> |
1273 |
diff --git a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c b/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c |
1324 |
diff --git a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c b/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c |
1274 |
index 2417b4e..c665afe 100644 |
1325 |
index 2417b4e..c665afe 100644 |
1275 |
--- a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c |
1326 |
--- a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c |
Lines 1284-1290
Link Here
|
1284 |
#else |
1335 |
#else |
1285 |
#include <strings.h> |
1336 |
#include <strings.h> |
1286 |
diff --git a/eclipse.platform.team/pom.xml b/eclipse.platform.team/pom.xml |
1337 |
diff --git a/eclipse.platform.team/pom.xml b/eclipse.platform.team/pom.xml |
1287 |
index 8637ed3..7623ba6 100644 |
1338 |
index d192566..3b590cd 100644 |
1288 |
--- a/eclipse.platform.team/pom.xml |
1339 |
--- a/eclipse.platform.team/pom.xml |
1289 |
+++ b/eclipse.platform.team/pom.xml |
1340 |
+++ b/eclipse.platform.team/pom.xml |
1290 |
@@ -63,6 +63,7 @@ |
1341 |
@@ -63,6 +63,7 @@ |
Lines 1336-1345
Link Here
|
1336 |
} |
1387 |
} |
1337 |
if (!tested) { |
1388 |
if (!tested) { |
1338 |
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1389 |
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1339 |
index 242e712..a6ade82 100644 |
1390 |
index 966c283..fdde997 100644 |
1340 |
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1391 |
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1341 |
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1392 |
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml |
1342 |
@@ -459,6 +469,16 @@ |
1393 |
@@ -455,6 +465,16 @@ |
1343 |
fragment="true"/> |
1394 |
fragment="true"/> |
1344 |
|
1395 |
|
1345 |
<plugin |
1396 |
<plugin |
Lines 1356-1362
Link Here
|
1356 |
id="org.eclipse.equinox.launcher.gtk.linux.x86_64" |
1407 |
id="org.eclipse.equinox.launcher.gtk.linux.x86_64" |
1357 |
os="linux" |
1408 |
os="linux" |
1358 |
ws="gtk" |
1409 |
ws="gtk" |
1359 |
@@ -625,6 +656,17 @@ |
1410 |
@@ -621,6 +652,17 @@ |
1360 |
unpack="false"/> |
1411 |
unpack="false"/> |
1361 |
|
1412 |
|
1362 |
<plugin |
1413 |
<plugin |
Lines 1375-1449
Link Here
|
1375 |
os="linux" |
1426 |
os="linux" |
1376 |
ws="gtk" |
1427 |
ws="gtk" |
1377 |
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1428 |
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1378 |
index 63b62c4..6523ad9 100644 |
1429 |
index 918a8ff..ceb1b3e 100644 |
1379 |
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1430 |
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1380 |
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1431 |
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml |
1381 |
@@ -45,6 +45,7 @@ |
1432 |
@@ -38,7 +38,26 @@ |
1382 |
<plugin id="org.eclipse.equinox.launcher.cocoa.macosx"/> |
1433 |
<excludes> |
1383 |
<plugin id="org.eclipse.equinox.launcher.cocoa.macosx"/> |
1434 |
<plugin id="javax.xml"/> |
1384 |
<plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64"/> |
|
|
1385 |
+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%"/> |
1386 |
<plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc"/> |
1387 |
<plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc64"/> |
1388 |
<plugin id="org.eclipse.equinox.launcher.gtk.linux.x86"/> |
1389 |
@@ -57,6 +59,8 @@ |
1390 |
<plugin id="org.eclipse.equinox.launcher.win32.win32.x86"/> |
1391 |
<plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64"/> |
1392 |
<plugin id="org.eclipse.swt"/> |
1435 |
<plugin id="org.eclipse.swt"/> |
|
|
1436 |
+ <plugin id="org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%"/> |
1437 |
+ <plugin id="org.eclipse.swt.gtk.solaris.sparc"/> |
1438 |
+ <plugin id="org.eclipse.swt.gtk.solaris.x86"/> |
1439 |
+ <plugin id="org.eclipse.swt.cocoa.macosx"/> |
1440 |
+ <plugin id="org.eclipse.swt.cocoa.macosx.x86_64"/> |
1441 |
+ <plugin id="org.eclipse.swt.gtk.linux.ppc"/> |
1442 |
+ <plugin id="org.eclipse.swt.gtk.linux.ppc64"/> |
1443 |
+ <plugin id="org.eclipse.swt.gtk.linux.ppc64le"/> |
1393 |
+ <plugin id="org.eclipse.swt.gtk.linux.x86"/> |
1444 |
+ <plugin id="org.eclipse.swt.gtk.linux.x86"/> |
|
|
1445 |
+ <plugin id="org.eclipse.swt.gtk.linux.s390x"/> |
1446 |
+ <plugin id="org.eclipse.swt.gtk.linux.s390"/> |
1394 |
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64"/> |
1447 |
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64"/> |
1395 |
<plugin id="org.eclipse.swt.gtk.linux.s390x"/> |
1448 |
+ <plugin id="org.eclipse.swt.gtk.aix.ppc"/> |
1396 |
<plugin id="org.eclipse.swt.gtk.linux.s390"/> |
1449 |
+ <plugin id="org.eclipse.swt.gtk.aix.ppc64"/> |
1397 |
<plugin id="org.eclipse.swt.gtk.solaris.sparc"/> |
1450 |
+ <plugin id="org.eclipse.swt.gtk.hpux.ia64"/> |
1398 |
@@ -64,10 +68,13 @@ |
|
|
1399 |
<plugin id="org.eclipse.swt.gtk.linux.ppc"/> |
1400 |
<plugin id="org.eclipse.swt.gtk.linux.ppc64"/> |
1401 |
<plugin id="org.eclipse.swt.cocoa.macosx"/> |
1402 |
- <plugin id="org.eclipse.swt.cocoa.macosx"/> |
1403 |
+ <plugin id="org.eclipse.swt.cocoa.macosx.x86_64"/> |
1404 |
<plugin id="org.eclipse.swt.gtk.aix.ppc"/> |
1405 |
<plugin id="org.eclipse.swt.gtk.aix.ppc64"/> |
1406 |
<plugin id="org.eclipse.swt.gtk.hpux.ia64"/> |
1407 |
+ <plugin id="org.eclipse.swt.win32.win32.x86"/> |
1451 |
+ <plugin id="org.eclipse.swt.win32.win32.x86"/> |
1408 |
+ <plugin id="org.eclipse.swt.win32.win32.x86_64"/> |
1452 |
+ <plugin id="org.eclipse.swt.win32.win32.x86_64"/> |
1409 |
+ <plugin id="org.eclipse.e4.ui.workbench.renderers.swt.cocoa"/> |
1453 |
+ <plugin id="org.eclipse.e4.ui.workbench.renderers.swt.cocoa"/> |
1410 |
<plugin id="org.w3c.css.sac"/> |
1454 |
<plugin id="org.eclipse.equinox.launcher"/> |
1411 |
<plugin id="org.w3c.dom.smil"/> |
1455 |
+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%"/> |
1412 |
<plugin id="org.w3c.dom.svg"/> |
1456 |
<plugin id="org.eclipse.equinox.launcher.gtk.solaris.sparc"/> |
1413 |
diff --git a/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml b/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml |
1457 |
<plugin id="org.eclipse.equinox.launcher.gtk.solaris.x86"/> |
1414 |
index 661fd6c..2363b60 100644 |
1458 |
<plugin id="org.eclipse.equinox.launcher.cocoa.macosx"/> |
1415 |
--- a/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml |
|
|
1416 |
+++ b/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml |
1417 |
@@ -31,6 +31,12 @@ |
1418 |
<resolver>p2</resolver> |
1419 |
<environments> |
1420 |
<environment> |
1421 |
+ <os>freebsd</os> |
1422 |
+ <ws>gtk</ws> |
1423 |
+ <arch>%%ECLIPSE_ARCH%%</arch> |
1424 |
+ </environment> |
1425 |
+<!-- |
1426 |
+ <environment> |
1427 |
<os>linux</os> |
1428 |
<ws>gtk</ws> |
1429 |
<arch>x86</arch> |
1430 |
@@ -55,6 +66,7 @@ |
1431 |
<ws>cocoa</ws> |
1432 |
<arch>x86_64</arch> |
1433 |
</environment> |
1434 |
+--> |
1435 |
</environments> |
1436 |
</configuration> |
1437 |
</plugin> |
1438 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1459 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1439 |
index 659d332..e06e120 100644 |
1460 |
index 32968af..6610342 100644 |
1440 |
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1461 |
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1441 |
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1462 |
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml |
1442 |
@@ -21,4 +21,411 @@ |
1463 |
@@ -21,4 +21,70 @@ |
1443 |
<artifactId>org.eclipse.equinox.launcher</artifactId> |
1464 |
<artifactId>org.eclipse.equinox.launcher</artifactId> |
1444 |
<version>1.3.0-SNAPSHOT</version> |
1465 |
<version>1.3.0-SNAPSHOT</version> |
1445 |
<packaging>eclipse-plugin</packaging> |
1466 |
<packaging>eclipse-plugin</packaging> |
1446 |
+ |
1467 |
+ |
|
|
1468 |
+ <build> |
1469 |
+ <pluginManagement> |
1470 |
+ <plugins> |
1471 |
+ <plugin> |
1472 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1473 |
+ <version>1.7</version> |
1474 |
+ <dependencies> |
1475 |
+ <dependency> |
1476 |
+ <groupId>bsf</groupId> |
1477 |
+ <artifactId>bsf</artifactId> |
1478 |
+ <version>2.4.0</version> |
1479 |
+ </dependency> |
1480 |
+ <dependency> |
1481 |
+ <groupId>rhino</groupId> |
1482 |
+ <artifactId>js</artifactId> |
1483 |
+ <version>1.7R2</version> |
1484 |
+ </dependency> |
1485 |
+ <dependency> |
1486 |
+ <groupId>org.apache.ant</groupId> |
1487 |
+ <artifactId>ant-apache-bsf</artifactId> |
1488 |
+ <version>1.8.3</version> |
1489 |
+ </dependency> |
1490 |
+ <dependency> |
1491 |
+ <groupId>org.apache.ant</groupId> |
1492 |
+ <artifactId>ant-nodeps</artifactId> |
1493 |
+ <version>1.8.1</version> |
1494 |
+ </dependency> |
1495 |
+ </dependencies> |
1496 |
+ </plugin> |
1497 |
+ </plugins> |
1498 |
+ </pluginManagement> |
1499 |
+ </build> |
1500 |
+ |
1447 |
+ <profiles> |
1501 |
+ <profiles> |
1448 |
+ <profile> |
1502 |
+ <profile> |
1449 |
+ <id>build-native-launchers-gtk.freebsd.%%ECLIPSE_ARCH%%</id> |
1503 |
+ <id>build-native-launchers-gtk.freebsd.%%ECLIPSE_ARCH%%</id> |
Lines 1457-1463
Link Here
|
1457 |
+ <plugins> |
1511 |
+ <plugins> |
1458 |
+ <plugin> |
1512 |
+ <plugin> |
1459 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1513 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1460 |
+ <version> 1.7 </version> |
|
|
1461 |
+ <executions> |
1514 |
+ <executions> |
1462 |
+ <execution> |
1515 |
+ <execution> |
1463 |
+ <id>compile-executable-natives</id> |
1516 |
+ <id>compile-executable-natives</id> |
Lines 1472-1854
Link Here
|
1472 |
+ </goals> |
1525 |
+ </goals> |
1473 |
+ </execution> |
1526 |
+ </execution> |
1474 |
+ </executions> |
1527 |
+ </executions> |
1475 |
+ <dependencies> |
|
|
1476 |
+ <dependency> |
1477 |
+ <groupId>bsf</groupId> |
1478 |
+ <artifactId>bsf</artifactId> |
1479 |
+ <version>2.4.0</version> |
1480 |
+ </dependency> |
1481 |
+ <dependency> |
1482 |
+ <groupId>rhino</groupId> |
1483 |
+ <artifactId>js</artifactId> |
1484 |
+ <version>1.7R2</version> |
1485 |
+ </dependency> |
1486 |
+ <dependency> |
1487 |
+ <groupId>org.apache.ant</groupId> |
1488 |
+ <artifactId>ant-apache-bsf</artifactId> |
1489 |
+ <version>1.8.3</version> |
1490 |
+ </dependency> |
1491 |
+ <dependency> |
1492 |
+ <groupId>org.apache.ant</groupId> |
1493 |
+ <artifactId>ant-nodeps</artifactId> |
1494 |
+ <version>1.8.1</version> |
1495 |
+ </dependency> |
1496 |
+ </dependencies> |
1497 |
+ </plugin> |
1528 |
+ </plugin> |
1498 |
+ </plugins> |
1529 |
+ </plugins> |
1499 |
+ </build> |
1530 |
+ </build> |
1500 |
+ </profile> |
1531 |
+ </profile> |
1501 |
+ <profile> |
|
|
1502 |
+ <id>build-native-launchers-gtk.linux.x86_64</id> |
1503 |
+ <activation> |
1504 |
+ <property> |
1505 |
+ <name>native</name> |
1506 |
+ <value>gtk.linux.x86_64</value> |
1507 |
+ </property> |
1508 |
+ </activation> |
1509 |
+ <build> |
1510 |
+ <plugins> |
1511 |
+ <plugin> |
1512 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1513 |
+ <version> 1.7 </version> |
1514 |
+ <executions> |
1515 |
+ <execution> |
1516 |
+ <id>compile-executable-natives</id> |
1517 |
+ <phase>generate-resources</phase> |
1518 |
+ <configuration> |
1519 |
+ <target> |
1520 |
+ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/gtk/" target="build_eclipse"/> |
1521 |
+ </target> |
1522 |
+ </configuration> |
1523 |
+ <goals> |
1524 |
+ <goal>run</goal> |
1525 |
+ </goals> |
1526 |
+ </execution> |
1527 |
+ </executions> |
1528 |
+ <dependencies> |
1529 |
+ <dependency> |
1530 |
+ <groupId>bsf</groupId> |
1531 |
+ <artifactId>bsf</artifactId> |
1532 |
+ <version>2.4.0</version> |
1533 |
+ </dependency> |
1534 |
+ <dependency> |
1535 |
+ <groupId>rhino</groupId> |
1536 |
+ <artifactId>js</artifactId> |
1537 |
+ <version>1.7R2</version> |
1538 |
+ </dependency> |
1539 |
+ <dependency> |
1540 |
+ <groupId>org.apache.ant</groupId> |
1541 |
+ <artifactId>ant-apache-bsf</artifactId> |
1542 |
+ <version>1.8.3</version> |
1543 |
+ </dependency> |
1544 |
+ <dependency> |
1545 |
+ <groupId>org.apache.ant</groupId> |
1546 |
+ <artifactId>ant-nodeps</artifactId> |
1547 |
+ <version>1.8.1</version> |
1548 |
+ </dependency> |
1549 |
+ </dependencies> |
1550 |
+ </plugin> |
1551 |
+ </plugins> |
1552 |
+ </build> |
1553 |
+ </profile> |
1554 |
+ <profile> |
1555 |
+ <id>build-native-launchers-gtk.linux.x86</id> |
1556 |
+ <activation> |
1557 |
+ <property> |
1558 |
+ <name>native</name> |
1559 |
+ <value>gtk.linux.x86</value> |
1560 |
+ </property> |
1561 |
+ </activation> |
1562 |
+ <build> |
1563 |
+ <plugins> |
1564 |
+ <plugin> |
1565 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1566 |
+ <version> 1.7 </version> |
1567 |
+ <executions> |
1568 |
+ <execution> |
1569 |
+ <id>compile-executable-natives</id> |
1570 |
+ <phase>generate-resources</phase> |
1571 |
+ <configuration> |
1572 |
+ <target> |
1573 |
+ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/gtk/" target="build_eclipse"/> |
1574 |
+ </target> |
1575 |
+ </configuration> |
1576 |
+ <goals> |
1577 |
+ <goal>run</goal> |
1578 |
+ </goals> |
1579 |
+ </execution> |
1580 |
+ </executions> |
1581 |
+ <dependencies> |
1582 |
+ <dependency> |
1583 |
+ <groupId>bsf</groupId> |
1584 |
+ <artifactId>bsf</artifactId> |
1585 |
+ <version>2.4.0</version> |
1586 |
+ </dependency> |
1587 |
+ <dependency> |
1588 |
+ <groupId>rhino</groupId> |
1589 |
+ <artifactId>js</artifactId> |
1590 |
+ <version>1.7R2</version> |
1591 |
+ </dependency> |
1592 |
+ <dependency> |
1593 |
+ <groupId>org.apache.ant</groupId> |
1594 |
+ <artifactId>ant-apache-bsf</artifactId> |
1595 |
+ <version>1.8.3</version> |
1596 |
+ </dependency> |
1597 |
+ <dependency> |
1598 |
+ <groupId>org.apache.ant</groupId> |
1599 |
+ <artifactId>ant-nodeps</artifactId> |
1600 |
+ <version>1.8.1</version> |
1601 |
+ </dependency> |
1602 |
+ </dependencies> |
1603 |
+ </plugin> |
1604 |
+ </plugins> |
1605 |
+ </build> |
1606 |
+ </profile> |
1607 |
+ <profile> |
1608 |
+ <id>build-native-launchers-win32.win32.x86_64</id> |
1609 |
+ <activation> |
1610 |
+ <property> |
1611 |
+ <name>native</name> |
1612 |
+ <value>win32.win32.x86_64</value> |
1613 |
+ </property> |
1614 |
+ </activation> |
1615 |
+ <build> |
1616 |
+ <plugins> |
1617 |
+ <plugin> |
1618 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1619 |
+ <version> 1.7 </version> |
1620 |
+ <executions> |
1621 |
+ <execution> |
1622 |
+ <id>compile-executable-natives</id> |
1623 |
+ <phase>generate-resources</phase> |
1624 |
+ <configuration> |
1625 |
+ <target> |
1626 |
+ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/win32/" target="build_eclipse"/> |
1627 |
+ </target> |
1628 |
+ </configuration> |
1629 |
+ <goals> |
1630 |
+ <goal>run</goal> |
1631 |
+ </goals> |
1632 |
+ </execution> |
1633 |
+ </executions> |
1634 |
+ <dependencies> |
1635 |
+ <dependency> |
1636 |
+ <groupId>bsf</groupId> |
1637 |
+ <artifactId>bsf</artifactId> |
1638 |
+ <version>2.4.0</version> |
1639 |
+ </dependency> |
1640 |
+ <dependency> |
1641 |
+ <groupId>rhino</groupId> |
1642 |
+ <artifactId>js</artifactId> |
1643 |
+ <version>1.7R2</version> |
1644 |
+ </dependency> |
1645 |
+ <dependency> |
1646 |
+ <groupId>org.apache.ant</groupId> |
1647 |
+ <artifactId>ant-apache-bsf</artifactId> |
1648 |
+ <version>1.8.3</version> |
1649 |
+ </dependency> |
1650 |
+ <dependency> |
1651 |
+ <groupId>org.apache.ant</groupId> |
1652 |
+ <artifactId>ant-nodeps</artifactId> |
1653 |
+ <version>1.8.1</version> |
1654 |
+ </dependency> |
1655 |
+ </dependencies> |
1656 |
+ </plugin> |
1657 |
+ </plugins> |
1658 |
+ </build> |
1659 |
+ </profile> |
1660 |
+ <profile> |
1661 |
+ <id>build-native-launchers-win32.win32.x86</id> |
1662 |
+ <activation> |
1663 |
+ <property> |
1664 |
+ <name>native</name> |
1665 |
+ <value>win32.win32.x86</value> |
1666 |
+ </property> |
1667 |
+ </activation> |
1668 |
+ <build> |
1669 |
+ <plugins> |
1670 |
+ <plugin> |
1671 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1672 |
+ <version> 1.7 </version> |
1673 |
+ <executions> |
1674 |
+ <execution> |
1675 |
+ <id>compile-executable-natives</id> |
1676 |
+ <phase>generate-resources</phase> |
1677 |
+ <configuration> |
1678 |
+ <target> |
1679 |
+ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/win32/" target="build_eclipse"/> |
1680 |
+ </target> |
1681 |
+ </configuration> |
1682 |
+ <goals> |
1683 |
+ <goal>run</goal> |
1684 |
+ </goals> |
1685 |
+ </execution> |
1686 |
+ </executions> |
1687 |
+ <dependencies> |
1688 |
+ <dependency> |
1689 |
+ <groupId>bsf</groupId> |
1690 |
+ <artifactId>bsf</artifactId> |
1691 |
+ <version>2.4.0</version> |
1692 |
+ </dependency> |
1693 |
+ <dependency> |
1694 |
+ <groupId>rhino</groupId> |
1695 |
+ <artifactId>js</artifactId> |
1696 |
+ <version>1.7R2</version> |
1697 |
+ </dependency> |
1698 |
+ <dependency> |
1699 |
+ <groupId>org.apache.ant</groupId> |
1700 |
+ <artifactId>ant-apache-bsf</artifactId> |
1701 |
+ <version>1.8.3</version> |
1702 |
+ </dependency> |
1703 |
+ <dependency> |
1704 |
+ <groupId>org.apache.ant</groupId> |
1705 |
+ <artifactId>ant-nodeps</artifactId> |
1706 |
+ <version>1.8.1</version> |
1707 |
+ </dependency> |
1708 |
+ </dependencies> |
1709 |
+ </plugin> |
1710 |
+ </plugins> |
1711 |
+ </build> |
1712 |
+ </profile> |
1713 |
+ <profile> |
1714 |
+ <id>build-native-launchers-cocoa.macosx.x86_64</id> |
1715 |
+ <activation> |
1716 |
+ <property> |
1717 |
+ <name>native</name> |
1718 |
+ <value>cocoa.macosx.x86_64</value> |
1719 |
+ </property> |
1720 |
+ </activation> |
1721 |
+ <build> |
1722 |
+ <plugins> |
1723 |
+ <plugin> |
1724 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1725 |
+ <version> 1.7 </version> |
1726 |
+ <executions> |
1727 |
+ <execution> |
1728 |
+ <id>compile-executable-natives</id> |
1729 |
+ <phase>generate-resources</phase> |
1730 |
+ <configuration> |
1731 |
+ <target> |
1732 |
+ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/carbon/" target="build_eclipse"/> |
1733 |
+ </target> |
1734 |
+ </configuration> |
1735 |
+ <goals> |
1736 |
+ <goal>run</goal> |
1737 |
+ </goals> |
1738 |
+ </execution> |
1739 |
+ </executions> |
1740 |
+ <dependencies> |
1741 |
+ <dependency> |
1742 |
+ <groupId>bsf</groupId> |
1743 |
+ <artifactId>bsf</artifactId> |
1744 |
+ <version>2.4.0</version> |
1745 |
+ </dependency> |
1746 |
+ <dependency> |
1747 |
+ <groupId>rhino</groupId> |
1748 |
+ <artifactId>js</artifactId> |
1749 |
+ <version>1.7R2</version> |
1750 |
+ </dependency> |
1751 |
+ <dependency> |
1752 |
+ <groupId>org.apache.ant</groupId> |
1753 |
+ <artifactId>ant-apache-bsf</artifactId> |
1754 |
+ <version>1.8.3</version> |
1755 |
+ </dependency> |
1756 |
+ <dependency> |
1757 |
+ <groupId>org.apache.ant</groupId> |
1758 |
+ <artifactId>ant-nodeps</artifactId> |
1759 |
+ <version>1.8.1</version> |
1760 |
+ </dependency> |
1761 |
+ </dependencies> |
1762 |
+ </plugin> |
1763 |
+ </plugins> |
1764 |
+ </build> |
1765 |
+ </profile> |
1766 |
+ <profile> |
1767 |
+ <id>assemble-launchers</id> |
1768 |
+ <activation> |
1769 |
+ <property> |
1770 |
+ <!-- workaround. activeByDefault is disabled when another profile is |
1771 |
+ selected. --> |
1772 |
+ <name>!longnotexistingproperty</name> |
1773 |
+ </property> |
1774 |
+ </activation> |
1775 |
+ <build> |
1776 |
+ <plugins> |
1777 |
+ <plugin> |
1778 |
+ <artifactId>maven-antrun-plugin</artifactId> |
1779 |
+ <version> 1.7 </version> |
1780 |
+ <executions> |
1781 |
+ <execution> |
1782 |
+ <id>copy-executable-natives</id> |
1783 |
+ <phase>process-resources</phase> |
1784 |
+ <configuration> |
1785 |
+ <target> |
1786 |
+ <!-- We need to get binary bits from binary repo --> |
1787 |
+ <!-- If local binaries had been built, copy will not overwrite |
1788 |
+ them --> |
1789 |
+ <copy todir="bin"> |
1790 |
+ <fileset dir="../../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/"> |
1791 |
+ <include name="**/*"/> |
1792 |
+ </fileset> |
1793 |
+ </copy> |
1794 |
+ <copy todir="contributed"> |
1795 |
+ <fileset dir="../../../rt.equinox.binaries/org.eclipse.equinox.executable/contributed/"> |
1796 |
+ <include name="**/*"/> |
1797 |
+ </fileset> |
1798 |
+ </copy> |
1799 |
+ |
1800 |
+ <!-- Things below were copied from custombuildCallbacks.xml, as |
1801 |
+ Tycho does not support that --> |
1802 |
+ <copy includeEmptyDirs="false" todir="tempBin"> |
1803 |
+ <fileset dir="bin"/> |
1804 |
+ </copy> |
1805 |
+ <delete dir="bin"/> |
1806 |
+ <move todir="bin"> |
1807 |
+ <fileset dir="tempBin"/> |
1808 |
+ </move> |
1809 |
+ |
1810 |
+ <!-- rename eclipse launchers to "launcher" --> |
1811 |
+ <move todir="bin" verbose="true"> |
1812 |
+ <fileset dir="bin"/> |
1813 |
+ <regexpmapper from="^(.*[/\\])eclipse(.exe)?$" to="\1launcher\2"/> |
1814 |
+ </move> |
1815 |
+ <move todir="contributed" verbose="true"> |
1816 |
+ <fileset dir="contributed"/> |
1817 |
+ <regexpmapper from="^(.*[/\\])eclipse(.exe)?$" to="\1launcher\2"/> |
1818 |
+ </move> |
1819 |
+ </target> |
1820 |
+ </configuration> |
1821 |
+ <goals> |
1822 |
+ <goal>run</goal> |
1823 |
+ </goals> |
1824 |
+ </execution> |
1825 |
+ </executions> |
1826 |
+ <dependencies> |
1827 |
+ <dependency> |
1828 |
+ <groupId>bsf</groupId> |
1829 |
+ <artifactId>bsf</artifactId> |
1830 |
+ <version>2.4.0</version> |
1831 |
+ </dependency> |
1832 |
+ <dependency> |
1833 |
+ <groupId>rhino</groupId> |
1834 |
+ <artifactId>js</artifactId> |
1835 |
+ <version>1.7R2</version> |
1836 |
+ </dependency> |
1837 |
+ <dependency> |
1838 |
+ <groupId>org.apache.ant</groupId> |
1839 |
+ <artifactId>ant-apache-bsf</artifactId> |
1840 |
+ <version>1.8.3</version> |
1841 |
+ </dependency> |
1842 |
+ <dependency> |
1843 |
+ <groupId>org.apache.ant</groupId> |
1844 |
+ <artifactId>ant-nodeps</artifactId> |
1845 |
+ <version>1.8.1</version> |
1846 |
+ </dependency> |
1847 |
+ </dependencies> |
1848 |
+ </plugin> |
1849 |
+ </plugins> |
1850 |
+ </build> |
1851 |
+ </profile> |
1852 |
+ </profiles> |
1532 |
+ </profiles> |
1853 |
</project> |
1533 |
</project> |
1854 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java |
1534 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java |
Lines 1903-1912
Link Here
|
1903 |
return Constants.OS_UNKNOWN; |
1583 |
return Constants.OS_UNKNOWN; |
1904 |
} |
1584 |
} |
1905 |
|
1585 |
|
1906 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java b/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java |
1586 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java |
1907 |
index 6f2b039..7feb9b6 100644 |
1587 |
index 6f2b039..7feb9b6 100644 |
1908 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java |
1588 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java |
1909 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java |
1589 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java |
1910 |
@@ -77,7 +77,7 @@ public class TextProcessor { |
1590 |
@@ -77,7 +77,7 @@ public class TextProcessor { |
1911 |
|
1591 |
|
1912 |
if ("iw".equals(lang) || "he".equals(lang) || "ar".equals(lang) || "fa".equals(lang) || "ur".equals(lang)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
1592 |
if ("iw".equals(lang) || "he".equals(lang) || "ar".equals(lang) || "fa".equals(lang) || "ur".equals(lang)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ |
Lines 1916-1933
Link Here
|
1916 |
IS_PROCESSING_NEEDED = true; |
1596 |
IS_PROCESSING_NEEDED = true; |
1917 |
} |
1597 |
} |
1918 |
} |
1598 |
} |
1919 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java |
1599 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java |
1920 |
index 0d091d7..5acffe0 100644 |
1600 |
index 0d091d7..5acffe0 100644 |
1921 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java |
1601 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java |
1922 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java |
1602 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java |
1923 |
@@ -40,6 +40,7 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo { |
1603 |
@@ -40,6 +40,7 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo { |
1924 |
private static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$ |
1604 |
private static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$ |
1925 |
private static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$ |
1605 |
private static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$ |
1926 |
private static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$ |
1606 |
private static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$ |
1927 |
+ private static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$ |
1607 |
+ private static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$ |
1928 |
|
|
|
1929 |
// While we recognize the i386 architecture, we change |
1608 |
// While we recognize the i386 architecture, we change |
1930 |
// this internally to be x86. |
1609 |
// this internally to be x86. |
|
|
1610 |
private static final String INTERNAL_ARCH_I386 = "i386"; //$NON-NLS-1$ |
1931 |
@@ -202,6 +203,8 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo { |
1611 |
@@ -202,6 +203,8 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo { |
1932 |
return Constants.WS_GTK; |
1612 |
return Constants.WS_GTK; |
1933 |
if (osName.equals(Constants.OS_QNX)) |
1613 |
if (osName.equals(Constants.OS_QNX)) |
Lines 1946-1955
Link Here
|
1946 |
return Constants.OS_UNKNOWN; |
1626 |
return Constants.OS_UNKNOWN; |
1947 |
} |
1627 |
} |
1948 |
|
1628 |
|
1949 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java |
1629 |
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi.compatibility.plugins/src/org/eclipse/osgi/compatibility/plugins/PluginConverterImpl.java b/rt.equinox.framework/bundles/org.eclipse.osgi.compatibility.plugins/src/org/eclipse/osgi/compatibility/plugins/PluginConverterImpl.java |
1950 |
index fe1447f..3160fd5 100644 |
1630 |
index fe1447f..3160fd5 100644 |
1951 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java |
1631 |
--- a/rt.equinox.framework/bundles/org.eclipse.osgi.compatibility.plugins/src/org/eclipse/osgi/compatibility/plugins/PluginConverterImpl.java |
1952 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java |
1632 |
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi.compatibility.plugins/src/org/eclipse/osgi/compatibility/plugins/PluginConverterImpl.java |
1953 |
@@ -68,7 +68,7 @@ public class PluginConverterImpl implements PluginConverter { |
1633 |
@@ -68,7 +68,7 @@ public class PluginConverterImpl implements PluginConverter { |
1954 |
static public final String FRAGMENT_MANIFEST = "fragment.xml"; //$NON-NLS-1$ |
1634 |
static public final String FRAGMENT_MANIFEST = "fragment.xml"; //$NON-NLS-1$ |
1955 |
static public final String GENERATED_FROM = "Generated-from"; //$NON-NLS-1$ |
1635 |
static public final String GENERATED_FROM = "Generated-from"; //$NON-NLS-1$ |
Lines 2061-2145
Link Here
|
2061 |
fi |
1741 |
fi |
2062 |
else |
1742 |
else |
2063 |
diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
1743 |
diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
2064 |
index 939c8b5..c2491a5 100644 |
1744 |
index 156de22..7353724 100644 |
2065 |
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
1745 |
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
2066 |
+++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
1746 |
+++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml |
2067 |
@@ -101,6 +101,7 @@ |
1747 |
@@ -343,6 +343,8 @@ |
2068 |
</build> |
1748 |
<include name="gtk/linux/ppc64/**/*" /> |
2069 |
|
1749 |
<include name="gtk/linux/x86/**/*" /> |
2070 |
<profiles> |
1750 |
<include name="gtk/linux/x86_64/**/*" /> |
2071 |
+<!-- |
1751 |
+ <include name="gtk/freebsd/x86/**/*" /> |
2072 |
<profile> |
1752 |
+ <include name="gtk/freebsd/x86_64/**/*" /> |
2073 |
<id>build-native-launchers-gtk.linux.x86_64</id> |
1753 |
<include name="gtk/solaris/sparc/**/*" /> |
2074 |
<activation> |
1754 |
<include name="gtk/solaris/x86/**/*" /> |
2075 |
@@ -208,6 +209,59 @@ |
1755 |
<include name="win32/win32/x86/**/*" /> |
2076 |
</build> |
|
|
2077 |
</profile> |
2078 |
<profile> |
2079 |
+ <id>build-native-launchers-gtk.freebsd.%%ECLIPSE_ARCH%%</id> |
2080 |
+ <activation> |
2081 |
+ <property> |
2082 |
+ <name>native</name> |
2083 |
+ <value>gtk.freebsd.%%ECLIPSE_ARCH%%</value> |
2084 |
+ </property> |
2085 |
+ </activation> |
2086 |
+ <build> |
2087 |
+ <plugins> |
2088 |
+ <plugin> |
2089 |
+ <artifactId>maven-antrun-plugin</artifactId> |
2090 |
+ <version> 1.7 </version> |
2091 |
+ <executions> |
2092 |
+ <execution> |
2093 |
+ <id>compile-executable-natives</id> |
2094 |
+ <phase>generate-resources</phase> |
2095 |
+ <configuration> |
2096 |
+ <target> |
2097 |
+ <ant antfile="build.xml" dir="library/gtk/" target="build_eclipse"/> |
2098 |
+ </target> |
2099 |
+ </configuration> |
2100 |
+ <goals> |
2101 |
+ <goal>run</goal> |
2102 |
+ </goals> |
2103 |
+ </execution> |
2104 |
+ </executions> |
2105 |
+ <dependencies> |
2106 |
+ <dependency> |
2107 |
+ <groupId>bsf</groupId> |
2108 |
+ <artifactId>bsf</artifactId> |
2109 |
+ <version>2.4.0</version> |
2110 |
+ </dependency> |
2111 |
+ <dependency> |
2112 |
+ <groupId>rhino</groupId> |
2113 |
+ <artifactId>js</artifactId> |
2114 |
+ <version>1.7R2</version> |
2115 |
+ </dependency> |
2116 |
+ <dependency> |
2117 |
+ <groupId>org.apache.ant</groupId> |
2118 |
+ <artifactId>ant-apache-bsf</artifactId> |
2119 |
+ <version>1.8.3</version> |
2120 |
+ </dependency> |
2121 |
+ <dependency> |
2122 |
+ <groupId>org.apache.ant</groupId> |
2123 |
+ <artifactId>ant-nodeps</artifactId> |
2124 |
+ <version>1.8.1</version> |
2125 |
+ </dependency> |
2126 |
+ </dependencies> |
2127 |
+ </plugin> |
2128 |
+ </plugins> |
2129 |
+ </build> |
2130 |
+ </profile> |
2131 |
+ <profile> |
2132 |
<id>build-native-launchers-win32.win32.x86_64</id> |
2133 |
<activation> |
2134 |
<property> |
2135 |
@@ -366,6 +473,7 @@ |
2136 |
</plugins> |
2137 |
</build> |
2138 |
</profile> |
2139 |
+--> |
2140 |
<profile> |
2141 |
<id>assemble-launchers</id> |
2142 |
<activation> |
2143 |
diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties |
1756 |
diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties |
2144 |
index 0f30a87..36382de 100644 |
1757 |
index 0f30a87..36382de 100644 |
2145 |
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties |
1758 |
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties |
Lines 2183-2189
Link Here
|
2183 |
<target name="rootFileslinux_gtk_x86"> |
1796 |
<target name="rootFileslinux_gtk_x86"> |
2184 |
<mkdir dir="${feature.base}/linux.gtk.x86/${collectingFolder}"/> |
1797 |
<mkdir dir="${feature.base}/linux.gtk.x86/${collectingFolder}"/> |
2185 |
<copy todir="${feature.base}/linux.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true"> |
1798 |
<copy todir="${feature.base}/linux.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true"> |
2186 |
@@ -278,6 +294,8 @@ |
1799 |
@@ -243,6 +259,8 @@ |
2187 |
<antcall target="rootFilesmacosx_carbon_x86"/> |
1800 |
<antcall target="rootFilesmacosx_carbon_x86"/> |
2188 |
<antcall target="rootFilesmacosx_cocoa_ppc"/> |
1801 |
<antcall target="rootFilesmacosx_cocoa_ppc"/> |
2189 |
<antcall target="rootFilesmacosx_cocoa_x86"/> |
1802 |
<antcall target="rootFilesmacosx_cocoa_x86"/> |
Lines 2192-2198
Link Here
|
2192 |
<antcall target="rootFileslinux_gtk_x86"/> |
1805 |
<antcall target="rootFileslinux_gtk_x86"/> |
2193 |
<antcall target="rootFileslinux_gtk_ppc"/> |
1806 |
<antcall target="rootFileslinux_gtk_ppc"/> |
2194 |
<antcall target="rootFileslinux_gtk_ppc64"/> |
1807 |
<antcall target="rootFileslinux_gtk_ppc64"/> |
2195 |
@@ -319,4 +337,4 @@ |
1808 |
@@ -279,4 +297,4 @@ |
2196 |
<target name="gather.logs" depends="init"> |
1809 |
<target name="gather.logs" depends="init"> |
2197 |
</target> |
1810 |
</target> |
2198 |
|
1811 |
|
Lines 2240-2249
Link Here
|
2240 |
//Initially the files are in: <root>/Eclipse.app/ |
1853 |
//Initially the files are in: <root>/Eclipse.app/ |
2241 |
//and they must appear in <root>/MyAppName.app/ |
1854 |
//and they must appear in <root>/MyAppName.app/ |
2242 |
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
1855 |
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
2243 |
index 324c94f..f1b0d14 100644 |
1856 |
index 73fd078..89299b2 100644 |
2244 |
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
1857 |
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
2245 |
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
1858 |
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java |
2246 |
@@ -58,11 +58,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1859 |
@@ -68,11 +68,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2247 |
private final static SAXParserFactory parserFactory = SAXParserFactory.newInstance(); |
1860 |
private final static SAXParserFactory parserFactory = SAXParserFactory.newInstance(); |
2248 |
|
1861 |
|
2249 |
private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$ |
1862 |
private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$ |
Lines 2257-2308
Link Here
|
2257 |
private static final String VM_ARGS_LINUX = "vmArgsLin"; //$NON-NLS-1$ |
1870 |
private static final String VM_ARGS_LINUX = "vmArgsLin"; //$NON-NLS-1$ |
2258 |
private static final String VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$ |
1871 |
private static final String VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$ |
2259 |
private static final String VM_ARGS_SOLARIS = "vmArgsSol"; //$NON-NLS-1$ |
1872 |
private static final String VM_ARGS_SOLARIS = "vmArgsSol"; //$NON-NLS-1$ |
2260 |
@@ -85,6 +87,7 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1873 |
@@ -95,6 +97,7 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2261 |
private static final String OS_LINUX = "linux";//$NON-NLS-1$ |
1874 |
private static final String OS_LINUX = "linux";//$NON-NLS-1$ |
2262 |
private static final String OS_SOLARIS = "solaris";//$NON-NLS-1$ |
1875 |
private static final String OS_SOLARIS = "solaris";//$NON-NLS-1$ |
2263 |
private static final String OS_MACOSX = "macosx";//$NON-NLS-1$ |
1876 |
private static final String OS_MACOSX = "macosx";//$NON-NLS-1$ |
2264 |
+ private static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ |
1877 |
+ private static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ |
2265 |
|
1878 |
|
2266 |
//element names |
1879 |
// These must match Platform constant values |
2267 |
private static final String EL_FEATURES = "features"; //$NON-NLS-1$ |
1880 |
private static final String ARCH_X86 = "x86"; //$NON-NLS-1$ |
2268 |
@@ -110,20 +113,22 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1881 |
@@ -138,11 +141,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2269 |
private static final int STATE_PLUGINS = 4; |
1882 |
private static final int STATE_PLUGINS = 4; |
2270 |
private static final int STATE_FEATURES = 5; |
1883 |
private static final int STATE_FEATURES = 5; |
2271 |
private static final int STATE_PROGRAM_ARGS = 6; |
1884 |
private static final int STATE_PROGRAM_ARGS = 6; |
2272 |
- private static final int STATE_PROGRAM_ARGS_LINUX = 7; |
1885 |
+ private static final int STATE_PROGRAM_ARGS_FREEBSD = 100; |
2273 |
- private static final int STATE_PROGRAM_ARGS_MAC = 8; |
1886 |
private static final int STATE_PROGRAM_ARGS_LINUX = 7; |
2274 |
- private static final int STATE_PROGRAM_ARGS_SOLARIS = 9; |
1887 |
private static final int STATE_PROGRAM_ARGS_MAC = 8; |
2275 |
- private static final int STATE_PROGRAM_ARGS_WIN = 10; |
1888 |
private static final int STATE_PROGRAM_ARGS_SOLARIS = 9; |
2276 |
- private static final int STATE_VM_ARGS = 11; |
1889 |
private static final int STATE_PROGRAM_ARGS_WIN = 10; |
2277 |
- private static final int STATE_VM_ARGS_LINUX = 12; |
1890 |
private static final int STATE_VM_ARGS = 11; |
2278 |
- private static final int STATE_VM_ARGS_MAC = 13; |
1891 |
+ private static final int STATE_VM_ARGS_FREEBSD = 101; |
2279 |
- private static final int STATE_VM_ARGS_SOLARIS = 14; |
1892 |
private static final int STATE_VM_ARGS_LINUX = 12; |
2280 |
- private static final int STATE_VM_ARGS_WIN = 15; |
1893 |
private static final int STATE_VM_ARGS_MAC = 13; |
2281 |
- private static final int STATE_CONFIG_INI = 16; |
1894 |
private static final int STATE_VM_ARGS_SOLARIS = 14; |
2282 |
- private static final int STATE_CONFIGURATIONS = 17; |
1895 |
@@ -532,6 +537,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2283 |
- private static final int STATE_LICENSE = 18; |
|
|
2284 |
- private static final int STATE_LICENSE_URL = 19; |
2285 |
- private static final int STATE_LICENSE_TEXT = 20; |
2286 |
+ private static final int STATE_PROGRAM_ARGS_FREEBSD = 7; |
2287 |
+ private static final int STATE_PROGRAM_ARGS_LINUX = 8; |
2288 |
+ private static final int STATE_PROGRAM_ARGS_MAC = 9; |
2289 |
+ private static final int STATE_PROGRAM_ARGS_SOLARIS = 10; |
2290 |
+ private static final int STATE_PROGRAM_ARGS_WIN = 11; |
2291 |
+ private static final int STATE_VM_ARGS = 12; |
2292 |
+ private static final int STATE_VM_ARGS_FREEBSD = 13; |
2293 |
+ private static final int STATE_VM_ARGS_LINUX = 14; |
2294 |
+ private static final int STATE_VM_ARGS_MAC = 15; |
2295 |
+ private static final int STATE_VM_ARGS_SOLARIS = 16; |
2296 |
+ private static final int STATE_VM_ARGS_WIN = 17; |
2297 |
+ private static final int STATE_CONFIG_INI = 18; |
2298 |
+ private static final int STATE_CONFIGURATIONS = 19; |
2299 |
+ private static final int STATE_LICENSE = 20; |
2300 |
+ private static final int STATE_LICENSE_URL = 21; |
2301 |
+ private static final int STATE_LICENSE_TEXT = 22; |
2302 |
|
2303 |
private static final String PI_PDEBUILD = "org.eclipse.pde.build"; //$NON-NLS-1$ |
2304 |
private final static int EXCEPTION_PRODUCT_FORMAT = 23; |
2305 |
@@ -437,6 +442,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2306 |
key = VM_ARGS_MAC; |
1896 |
key = VM_ARGS_MAC; |
2307 |
} else if (os.equals(OS_SOLARIS)) { |
1897 |
} else if (os.equals(OS_SOLARIS)) { |
2308 |
key = VM_ARGS_SOLARIS; |
1898 |
key = VM_ARGS_SOLARIS; |
Lines 2310-2317
Link Here
|
2310 |
+ key = VM_ARGS_FREEBSD; |
1900 |
+ key = VM_ARGS_FREEBSD; |
2311 |
} |
1901 |
} |
2312 |
|
1902 |
|
2313 |
String prefix = launcherArgs.getProperty(VM_ARGS); |
1903 |
arch = arch == null ? "" : arch; //$NON-NLS-1$ |
2314 |
@@ -466,6 +473,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1904 |
@@ -611,6 +618,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2315 |
key = PROGRAM_ARGS_MAC; |
1905 |
key = PROGRAM_ARGS_MAC; |
2316 |
} else if (os.equals(OS_SOLARIS)) { |
1906 |
} else if (os.equals(OS_SOLARIS)) { |
2317 |
key = PROGRAM_ARGS_SOLARIS; |
1907 |
key = PROGRAM_ARGS_SOLARIS; |
Lines 2319-2326
Link Here
|
2319 |
+ key = PROGRAM_ARGS_FREEBSD; |
1909 |
+ key = PROGRAM_ARGS_FREEBSD; |
2320 |
} |
1910 |
} |
2321 |
|
1911 |
|
2322 |
String prefix = launcherArgs.getProperty(PROGRAM_ARGS); |
1912 |
arch = arch == null ? "" : arch; //$NON-NLS-1$ |
2323 |
@@ -532,6 +541,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1913 |
@@ -724,6 +733,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2324 |
processLinux(attributes); |
1914 |
processLinux(attributes); |
2325 |
} else if (OS_MACOSX.equals(localName)) { |
1915 |
} else if (OS_MACOSX.equals(localName)) { |
2326 |
processMac(attributes); |
1916 |
processMac(attributes); |
Lines 2329-2335
Link Here
|
2329 |
} |
1919 |
} |
2330 |
if ("ico".equals(localName)) { //$NON-NLS-1$ |
1920 |
if ("ico".equals(localName)) { //$NON-NLS-1$ |
2331 |
processIco(attributes); |
1921 |
processIco(attributes); |
2332 |
@@ -543,6 +554,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1922 |
@@ -735,6 +746,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2333 |
case STATE_LAUNCHER_ARGS : |
1923 |
case STATE_LAUNCHER_ARGS : |
2334 |
if (PROGRAM_ARGS.equals(localName)) { |
1924 |
if (PROGRAM_ARGS.equals(localName)) { |
2335 |
state = STATE_PROGRAM_ARGS; |
1925 |
state = STATE_PROGRAM_ARGS; |
Lines 2338-2344
Link Here
|
2338 |
} else if (PROGRAM_ARGS_LINUX.equals(localName)) { |
1928 |
} else if (PROGRAM_ARGS_LINUX.equals(localName)) { |
2339 |
state = STATE_PROGRAM_ARGS_LINUX; |
1929 |
state = STATE_PROGRAM_ARGS_LINUX; |
2340 |
} else if (PROGRAM_ARGS_MAC.equals(localName)) { |
1930 |
} else if (PROGRAM_ARGS_MAC.equals(localName)) { |
2341 |
@@ -553,6 +566,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1931 |
@@ -745,6 +758,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2342 |
state = STATE_PROGRAM_ARGS_WIN; |
1932 |
state = STATE_PROGRAM_ARGS_WIN; |
2343 |
} else if (VM_ARGS.equals(localName)) { |
1933 |
} else if (VM_ARGS.equals(localName)) { |
2344 |
state = STATE_VM_ARGS; |
1934 |
state = STATE_VM_ARGS; |
Lines 2347-2355
Link Here
|
2347 |
} else if (VM_ARGS_LINUX.equals(localName)) { |
1937 |
} else if (VM_ARGS_LINUX.equals(localName)) { |
2348 |
state = STATE_VM_ARGS_LINUX; |
1938 |
state = STATE_VM_ARGS_LINUX; |
2349 |
} else if (VM_ARGS_MAC.equals(localName)) { |
1939 |
} else if (VM_ARGS_MAC.equals(localName)) { |
2350 |
@@ -658,11 +673,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1940 |
@@ -764,6 +779,11 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
|
|
1941 |
setArchState(localName); |
2351 |
break; |
1942 |
break; |
2352 |
|
1943 |
|
|
|
1944 |
+ case STATE_PROGRAM_ARGS_FREEBSD : |
1945 |
+ platformKeyPrefix = PROGRAM_ARGS_FREEBSD; |
1946 |
+ setArchState(localName); |
1947 |
+ break; |
1948 |
+ |
1949 |
case STATE_PROGRAM_ARGS_LINUX : |
1950 |
platformKeyPrefix = PROGRAM_ARGS_LINUX; |
1951 |
setArchState(localName); |
1952 |
@@ -789,6 +809,11 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1953 |
setArchState(localName); |
1954 |
break; |
1955 |
|
1956 |
+ case STATE_VM_ARGS_FREEBSD : |
1957 |
+ platformKeyPrefix = VM_ARGS_FREEBSD; |
1958 |
+ setArchState(localName); |
1959 |
+ break; |
1960 |
+ |
1961 |
case STATE_VM_ARGS_LINUX : |
1962 |
platformKeyPrefix = VM_ARGS_LINUX; |
1963 |
setArchState(localName); |
1964 |
@@ -961,11 +986,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1965 |
break; |
1966 |
|
2353 |
case STATE_PROGRAM_ARGS : |
1967 |
case STATE_PROGRAM_ARGS : |
2354 |
+ case STATE_PROGRAM_ARGS_FREEBSD : |
1968 |
+ case STATE_PROGRAM_ARGS_FREEBSD : |
2355 |
case STATE_PROGRAM_ARGS_LINUX : |
1969 |
case STATE_PROGRAM_ARGS_LINUX : |
Lines 2361-2367
Link Here
|
2361 |
case STATE_VM_ARGS_LINUX : |
1975 |
case STATE_VM_ARGS_LINUX : |
2362 |
case STATE_VM_ARGS_MAC : |
1976 |
case STATE_VM_ARGS_MAC : |
2363 |
case STATE_VM_ARGS_SOLARIS : |
1977 |
case STATE_VM_ARGS_SOLARIS : |
2364 |
@@ -689,6 +706,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1978 |
@@ -1008,6 +1035,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2365 |
case STATE_PROGRAM_ARGS : |
1979 |
case STATE_PROGRAM_ARGS : |
2366 |
addLaunchArgumentToMap(PROGRAM_ARGS, String.valueOf(ch, start, length)); |
1980 |
addLaunchArgumentToMap(PROGRAM_ARGS, String.valueOf(ch, start, length)); |
2367 |
break; |
1981 |
break; |
Lines 2371-2377
Link Here
|
2371 |
case STATE_PROGRAM_ARGS_LINUX : |
1985 |
case STATE_PROGRAM_ARGS_LINUX : |
2372 |
addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, String.valueOf(ch, start, length)); |
1986 |
addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, String.valueOf(ch, start, length)); |
2373 |
break; |
1987 |
break; |
2374 |
@@ -704,6 +724,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1988 |
@@ -1023,6 +1053,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2375 |
case STATE_VM_ARGS : |
1989 |
case STATE_VM_ARGS : |
2376 |
addLaunchArgumentToMap(VM_ARGS, String.valueOf(ch, start, length)); |
1990 |
addLaunchArgumentToMap(VM_ARGS, String.valueOf(ch, start, length)); |
2377 |
break; |
1991 |
break; |
Lines 2381-2387
Link Here
|
2381 |
case STATE_VM_ARGS_LINUX : |
1995 |
case STATE_VM_ARGS_LINUX : |
2382 |
addLaunchArgumentToMap(VM_ARGS_LINUX, String.valueOf(ch, start, length)); |
1996 |
addLaunchArgumentToMap(VM_ARGS_LINUX, String.valueOf(ch, start, length)); |
2383 |
break; |
1997 |
break; |
2384 |
@@ -867,6 +890,10 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
1998 |
@@ -1206,6 +1239,10 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor { |
2385 |
addIcon(OS_WIN32, attributes.getValue(WIN32_256_HIGH)); |
1999 |
addIcon(OS_WIN32, attributes.getValue(WIN32_256_HIGH)); |
2386 |
} |
2000 |
} |
2387 |
|
2001 |
|
Lines 2402-2408
Link Here
|
2402 |
configs = win32, win32, x86 & \ |
2016 |
configs = win32, win32, x86 & \ |
2403 |
- linux, gtk, x86 & |
2017 |
- linux, gtk, x86 & |
2404 |
+ linux, gtk, x86 & \ |
2018 |
+ linux, gtk, x86 & \ |
2405 |
+ freebsd, gtk, %%ECLIPSE_ARCH%% |
2019 |
+ freebsd, gtk, x86 |
2406 |
#configs=win32, win32, x86 & \ |
2020 |
#configs=win32, win32, x86 & \ |
2407 |
# linux, gtk, ppc &\ |
2021 |
# linux, gtk, ppc &\ |
2408 |
# linux, gtk, x86 & \ |
2022 |
# linux, gtk, x86 & \ |
Lines 2416-2422
Link Here
|
2416 |
configs = win32, win32, x86 & \ |
2030 |
configs = win32, win32, x86 & \ |
2417 |
- linux, gtk, x86 |
2031 |
- linux, gtk, x86 |
2418 |
+ linux, gtk, x86 & \ |
2032 |
+ linux, gtk, x86 & \ |
2419 |
+ freebsd, gtk, %%ECLIPSE_ARCH%% |
2033 |
+ freebsd, gtk, x86 |
2420 |
#configs=win32, win32, x86 & \ |
2034 |
#configs=win32, win32, x86 & \ |
2421 |
# linux, gtk, ppc &\ |
2035 |
# linux, gtk, ppc &\ |
2422 |
# linux, gtk, x86 & \ |
2036 |
# linux, gtk, x86 & \ |
Lines 2434-2479
Link Here
|
2434 |
</excludes> |
2048 |
</excludes> |
2435 |
</configuration> |
2049 |
</configuration> |
2436 |
</execution> |
2050 |
</execution> |
2437 |
diff --git a/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml b/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml |
2051 |
diff --git a/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml b/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml |
2438 |
index b3ed6f8..7544d34 100644 |
2052 |
index e9f8e1d..35b3df6 100644 |
2439 |
--- a/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml |
2053 |
--- a/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml |
2440 |
+++ b/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml |
2054 |
+++ b/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml |
2441 |
@@ -54,18 +54,6 @@ |
|
|
2442 |
<executionEnvironment>J2SE-1.5</executionEnvironment> |
2443 |
</configuration> |
2444 |
</plugin> |
2445 |
- <plugin> |
2446 |
- <groupId>org.eclipse.tycho</groupId> |
2447 |
- <artifactId>tycho-compiler-plugin</artifactId> |
2448 |
- <configuration> |
2449 |
- <!-- |
2450 |
- Many (all?) bundles use java 5 generics, do not compile against libraries |
2451 |
- of their respective execution environments and we force compilation against |
2452 |
- SYSTEM JRE libraries that are guaranteed to be java5+ |
2453 |
- --> |
2454 |
- <useJDK>BREE</useJDK> |
2455 |
- </configuration> |
2456 |
- </plugin> |
2457 |
</plugins> |
2458 |
</build> |
2459 |
|
2460 |
--- a/eclipse.platform/platform/org.eclipse.platform/plugin.xml.orig 2014-06-05 16:12:04.000000000 -0500 |
2461 |
+++ b/eclipse.platform/platform/org.eclipse.platform/plugin.xml 2014-08-01 17:23:26.000000000 -0500 |
2462 |
@@ -141,6 +141,12 @@ |
2463 |
basestylesheeturi="css/e4_default_gtk.css" |
2464 |
id="org.eclipse.e4.ui.css.theme.e4_default" |
2465 |
label="%theme.gtk" |
2466 |
+ os="freebsd"> |
2467 |
+ </theme> |
2468 |
+ <theme |
2469 |
+ basestylesheeturi="css/e4_default_gtk.css" |
2470 |
+ id="org.eclipse.e4.ui.css.theme.e4_default" |
2471 |
+ label="%theme.gtk" |
2472 |
os="linux"> |
2473 |
</theme> |
2474 |
<theme |
2475 |
--- a/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml.orig 2014-06-05 17:05:18.000000000 -0500 |
2476 |
+++ b/eclipse.platform.ua/org.eclipse.ui.intro.universal/plugin.xml 2014-08-01 19:39:25.000000000 -0500 |
2477 |
@@ -46,7 +46,7 @@ |
2055 |
@@ -46,7 +46,7 @@ |
2478 |
<implementation |
2056 |
<implementation |
2479 |
style="themes/shared/html/shared.css,$theme$/html/shared.css,$theme$/html/font-$fontStyle$.css,$theme$/html/$direction$.css" |
2057 |
style="themes/shared/html/shared.css,$theme$/html/shared.css,$theme$/html/font-$fontStyle$.css,$theme$/html/$direction$.css" |
Lines 2483-2519
Link Here
|
2483 |
</implementation> |
2061 |
</implementation> |
2484 |
<implementation |
2062 |
<implementation |
2485 |
kind="swt"> |
2063 |
kind="swt"> |
2486 |
--- a/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml.orig 2014-06-05 17:09:12.000000000 -0500 |
2064 |
diff --git a/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml b/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml |
2487 |
+++ b/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml 2014-08-01 19:58:51.000000000 -0500 |
2065 |
index 7ed3896..84af871 100644 |
2488 |
@@ -83,6 +83,17 @@ |
2066 |
--- a/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml |
2489 |
|
2067 |
+++ b/eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml |
2490 |
<!-- Web Browsers --> |
2068 |
@@ -87,7 +87,7 @@ |
2491 |
<extension point="org.eclipse.ui.browser.browsers"> |
|
|
2492 |
+ <!-- FreeBSD --> |
2493 |
+ <browser |
2494 |
+ id="org.eclipse.ui.browser.firefox" |
2495 |
+ name="%browserFirefox" |
2496 |
+ os="freebsd" |
2497 |
+ executable="firefox" |
2498 |
+ factoryclass="org.eclipse.ui.internal.browser.browsers.MozillaFactory"> |
2499 |
+ <location> |
2500 |
+ usr/local/bin/firefox |
2501 |
+ </location> |
2502 |
+ </browser> |
2503 |
<!-- Linux --> |
2504 |
<browser |
2069 |
<browser |
2505 |
id="org.eclipse.ui.browser.firefox" |
2070 |
id="org.eclipse.ui.browser.firefox" |
2506 |
--- a/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml.orig 2014-06-05 17:04:42.000000000 -0500 |
2071 |
name="%browserFirefox" |
2507 |
+++ b/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml 2014-08-01 20:03:04.000000000 -0500 |
2072 |
- os="linux,aix,hpux,solaris" |
2508 |
@@ -1184,6 +1184,11 @@ |
2073 |
+ os="freebsd,linux,aix,hpux,solaris" |
|
|
2074 |
executable="firefox" |
2075 |
factoryclass="org.eclipse.ui.internal.browser.browsers.MozillaFactory"> |
2076 |
<location> |
2077 |
diff --git a/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml b/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml |
2078 |
index 46672cb..86bfcd5 100644 |
2079 |
--- a/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml |
2080 |
+++ b/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml |
2081 |
@@ -1184,7 +1184,7 @@ |
2509 |
%blockSelectionModeFont.description |
2082 |
%blockSelectionModeFont.description |
2510 |
</description> |
2083 |
</description> |
2511 |
<fontValue |
2084 |
<fontValue |
2512 |
+ os="freebsd" |
2085 |
- os="linux" |
2513 |
+ value="Monospace-regular-10" |
2086 |
+ os="freebsd,linux" |
2514 |
+ ws="gtk"> |
|
|
2515 |
+ </fontValue> |
2516 |
+ <fontValue |
2517 |
os="linux" |
2518 |
value="Monospace-regular-10" |
2087 |
value="Monospace-regular-10" |
2519 |
ws="gtk"> |
2088 |
ws="gtk"> |
|
|
2089 |
</fontValue> |
2090 |
diff --git a/eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml b/eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml |
2091 |
index 5334aec..0f27c9b 100644 |
2092 |
--- a/eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml |
2093 |
+++ b/eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml |
2094 |
@@ -21,6 +21,12 @@ |
2095 |
os="linux"> |
2096 |
</theme> |
2097 |
<theme |
2098 |
+ basestylesheeturi="css/e4-dark.css" |
2099 |
+ id="org.eclipse.e4.ui.css.theme.e4_dark" |
2100 |
+ label="%theme.dark" |
2101 |
+ os="freebsd"> |
2102 |
+ </theme> |
2103 |
+ <theme |
2104 |
basestylesheeturi="css/e4-dark_win.css" |
2105 |
id="org.eclipse.e4.ui.css.theme.e4_dark" |
2106 |
label="%theme.dark" |
2107 |
@@ -38,6 +44,12 @@ |
2108 |
label="%theme.gtk" |
2109 |
os="linux"> |
2110 |
</theme> |
2111 |
+ <theme |
2112 |
+ basestylesheeturi="css/e4_default_gtk.css" |
2113 |
+ id="org.eclipse.e4.ui.css.theme.e4_default" |
2114 |
+ label="%theme.gtk" |
2115 |
+ os="freebsd"> |
2116 |
+ </theme> |
2117 |
<theme |
2118 |
basestylesheeturi="css/e4_classic_winxp.css" |
2119 |
id="org.eclipse.e4.ui.css.theme.e4_default" |
2120 |
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml |
2121 |
index 9b2fce9..68e15bc 100644 |
2122 |
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml |
2123 |
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml |
2124 |
@@ -38,6 +38,7 @@ |
2125 |
</goals> |
2126 |
<configuration> |
2127 |
<formats> |
2128 |
+ <freebsd>tar.gz</freebsd> |
2129 |
<linux>tar.gz</linux> |
2130 |
</formats> |
2131 |
</configuration> |
2132 |
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product |
2133 |
index 92973d3..b492f25 100644 |
2134 |
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product |
2135 |
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product |
2136 |
@@ -43,7 +43,10 @@ |
2137 |
<plugin id="org.eclipse.core.expressions"/> |
2138 |
<plugin id="org.eclipse.core.jobs"/> |
2139 |
<plugin id="org.eclipse.core.net"/> |
2140 |
+ <plugin id="org.eclipse.core.net.freebsd.%%ECLIPSE_ARCH%%" fragment="true"/> |
2141 |
+<!-- |
2142 |
<plugin id="org.eclipse.core.net.linux.x86_64" fragment="true"/> |
2143 |
+--> |
2144 |
<plugin id="org.eclipse.core.runtime"/> |
2145 |
<plugin id="org.eclipse.core.runtime.compatibility"/> |
2146 |
<plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/> |
2147 |
@@ -128,11 +131,14 @@ |
2148 |
<plugin id="org.eclipse.osgi.services"/> |
2149 |
<plugin id="org.eclipse.osgi.util"/> |
2150 |
<plugin id="org.eclipse.swt"/> |
2151 |
+ <plugin id="org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%" fragment="true"/> |
2152 |
+<!-- |
2153 |
<plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/> |
2154 |
<plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/> |
2155 |
<plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/> |
2156 |
<plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/> |
2157 |
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/> |
2158 |
+--> |
2159 |
<plugin id="org.eclipse.ui"/> |
2160 |
<plugin id="org.eclipse.ui.workbench"/> |
2161 |
<plugin id="org.eclipse.update.configurator"/> |
2162 |
diff --git a/eclipse.platform.releng/features/org.eclipse.rcp/pom.xml b/eclipse.platform.releng/features/org.eclipse.rcp/pom.xml |
2163 |
index dde92d3..09ab2ae 100644 |
2164 |
--- a/eclipse.platform.releng/features/org.eclipse.rcp/pom.xml |
2165 |
+++ b/eclipse.platform.releng/features/org.eclipse.rcp/pom.xml |
2166 |
@@ -37,6 +37,7 @@ |
2167 |
<configuration> |
2168 |
<excludes> |
2169 |
<plugin id="org.eclipse.rcp"/> |
2170 |
+ <plugin id="org.eclipse.ui.cocoa"/> |
2171 |
</excludes> |
2172 |
</configuration> |
2173 |
</execution> |
2174 |
diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml |
2175 |
index 35144a0..5492b95 100644 |
2176 |
--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml |
2177 |
+++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml |
2178 |
@@ -106,6 +106,16 @@ |
2179 |
unpack="false"/> |
2180 |
|
2181 |
<plugin |
2182 |
+ id="org.eclipse.core.net.freebsd.%%ECLIPSE_ARCH%%" |
2183 |
+ os="freebsd" |
2184 |
+ arch="%%ECLIPSE_ARCH%%" |
2185 |
+ download-size="0" |
2186 |
+ install-size="0" |
2187 |
+ version="0.0.0" |
2188 |
+ fragment="true" |
2189 |
+ unpack="false"/> |
2190 |
+ |
2191 |
+ <plugin |
2192 |
id="org.eclipse.core.net.linux.x86_64" |
2193 |
os="linux" |
2194 |
arch="x86_64" |
2195 |
@@ -397,6 +417,16 @@ |
2196 |
unpack="false"/> |
2197 |
|
2198 |
<plugin |
2199 |
+ id="org.eclipse.core.filesystem.freebsd.%%ECLIPSE_ARCH%%" |
2200 |
+ os="freebsd" |
2201 |
+ arch="%%ECLIPSE_ARCH%%" |
2202 |
+ download-size="0" |
2203 |
+ install-size="0" |
2204 |
+ version="0.0.0" |
2205 |
+ fragment="true" |
2206 |
+ unpack="false"/> |
2207 |
+ |
2208 |
+ <plugin |
2209 |
id="org.eclipse.core.filesystem.linux.x86" |
2210 |
os="linux" |
2211 |
arch="x86" |