Hi Christian,
My bad on this, I just pushed a patch for the classpath in the git repository.
I checked the build configuration
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<optimize>true</optimize>
<showWarnings>true</showWarnings>
<!--
Tycho build using the project's JDT settings. -->
<useProjectSettings>true</useProjectSettings>
</configuration>
</plugin>
I believed that this configuration will force the build to use the .classpath.
Do you know what are the project settings really used by the current build configuration ?
Regards,
Benoit Maggi
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx]
De la part de Christian W. Damus
Envoyé : mercredi 18 février 2015 16:18
À : Papyrus Project list
Objet : Re: [mdt-papyrus.dev] org.eclipse.papyrus.infra.viewpoints.configurations.edit[or] plug-ins
Okay, then the .classpath files in both projects need updating, because they expect the source to be in the src/ folder.
Package 'org.eclipse.papyrus.infra.viewpoints.configuration.presentation' does not exist in this plug-in MANIFEST.MF /org.eclipse.papyrus.infra.viewpoints.configuration.editor/META-INF line 12
Package 'org.eclipse.papyrus.infra.viewpoints.configuration.provider' does not exist in this plug-in MANIFEST.MF /org.eclipse.papyrus.infra.viewpoints.configuration.edit/META-INF line 11
Project 'org.eclipse.papyrus.infra.viewpoints.configuration.edit' is missing required source folder: 'src' org.eclipse.papyrus.infra.viewpoints.configuration.edit Build path
Project 'org.eclipse.papyrus.infra.viewpoints.configuration.editor' is missing required source folder: 'src' org.eclipse.papyrus.infra.viewpoints.configuration.editor Build path
The constructor Exception(String, Throwable, boolean, boolean) is undefined TestUtilsException.java /org.eclipse.papyrus.uml.profile.drafter.tests/src/org/eclipse/papyrus/uml/profile/drafter/tests/exception line 79
The project cannot be built until build path errors are resolved org.eclipse.papyrus.infra.viewpoints.configuration.edit Unknown
The project cannot be built until build path errors are resolved org.eclipse.papyrus.infra.viewpoints.configuration.editor Unknown
On Wed, Feb 18, 2015 at 10:13 AM, MAGGI Benoit <Benoit.MAGGI@xxxxxx> wrote:
Hi Christian,
I made some change this morning (Paris
J ) to move generate source code in src-gen for viewpoint.
Note that I did not remove anything, just renaming.
It is compiling in my workspace and also pass the gerrit build (that is using your configuration?
Use the eclipse configuration ?)
It is currently running the test in the Hudson [1]
Can you share your problems log?
Regards,
Benoit Maggi
[1] :
https://hudson.eclipse.org/papyrus/view/Mars/job/Papyrus-Master-Tests/703/console
This morning (Western hemisphere) when I rebased from origin the plug-in projects named in the subject line lost their src/ folders. As a result, they no longer build (red bangs
and Xes on them).
There are src-gen/ folders in these projects, but JDT wasn’t told that they are source folders. Should there be src/ folders, also? Or is it just that the .classpath file is missing
the src-gen/ as a source folder? (it still references src/)