pom file errors after SWT workspace is setup in Ubuntu using oomph #1065
-
I have set up an SWT workspace on the latest version of Ubuntu Linux and am able to run the Eclipse application locally after following the steps mentioned in https://wiki.eclipse.org/SWT/Devel/Gtk/Dev_guide. Now I'm attempting to modify the OS.java file and compile the new C code, following the steps outlined here but the Ant build scripts are no longer present in the workspace, and I'm attempting to trace the chain here But the POM files in the workspace are having issues, and I'm wondering if it's a workspace setup problem. I haven't made any changes to the POM file. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
I don't see that error... I think the direct parent is fine, but the I believe this error remains only as long as the editor is open... The problem is that the overall pom structure assumes the repo is checked out as a submodule of https://github.com/eclipse-platform/eclipse.platform.releng.aggregator So it expects that |
Beta Was this translation helpful? Give feedback.
-
Closing the POM editor resolved the issue today, but that wasn't the case when I was attempting this a couple of days ago. Now I am proceeding with my Maven command to compile the new C code and copy the new libraries to the appropriate fragment
But I am encountering errors. Could it be a proxy issue? I am unable to locate the mentioned .pom file at the specified location. Original error: Could not transfer artifact org.eclipse.tycho:tycho-source-plugin:pom:4.0.6 from/to tycho-snapshots (https://repo.eclipse.org/content/repositories/tycho-snapshots/): HTTP proxy server authentication failed for https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho-source-plugin/4.0.6/tycho-source-plugin-4.0.6.pom 407 Proxy Authentication Required When clicking on the .pom file link, I receive the following information: |
Beta Was this translation helpful? Give feedback.
-
@lathapatil If you are using a special maven setup you maybe need to configure the |
Beta Was this translation helpful? Give feedback.
I build the binaries via Maven from command line. A prerequisite for building the binaries is to have an
swtBuildQualifier.txt
inbundles\org.eclipse.swt\target
, which is created by simply running an ordinary Maven build on the complete SWT repository (or you can probably also create it manually). Then you can execute the following within the folder of the fragment you want to build:So in your case it should be
mvn clean process-resources -Dnative=gtk.linux.x86_64 -DskipTests
in theorg.eclipse.swt.gtk.linux.x86_64
fragment folder.You can also find the description how to build the binaries here: #973 (comment)