[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-dev] compiling for first time
|
I often find this a painful part of contributing to a project,
i.e., getting the launch configurations configured correctly.
Should it be a Junit or a JUnit Plugin test. Should it be
headless in the latter case? Maintaining the launch
configurations in the project seems a good idea. But then one
often doesn't notice that the launch configurations are in fact
there, just not in the favorites list. I see a "JDT Debug Test
Suite" is maintained in \org.eclipse.jdt.debug.tests but other
ones are not maintained in the project source...
On 09.06.2020 21:23, Gayan Perera
wrote:
Thanks for the responses, I ended up going the
Oomph route, which worked -- I now have JDT imported into
Eclipse (with no errors in the problems tab!).
But I'm not clear how the general build/test
development cycle works. Is there a way to run my jdt ui
code changes within the same running Eclipse instance, or
do I need to instead build an artifact, perhaps via
cmd-line maven, and then run that artifact as a separate
Eclipse instance to see the changes? What's the actual
development flow people use when writing code?
Thanks
Ari
Try building like follows
mvn
-Pbuild-individual-bundles clean install
Br,
Gayan
Hi
I'm a developer looking to fix a few bugs of
personal interest to me in eclipse.jdt.ui.
and followed its README instrux, which fail
at this command:
mvn clean verify -DskipTests=true
which yields the error at bottom of this
email.
My questions:
1) how to build/run the project
Many thanks
Ari
Here are the error details:
maven 3.6.3
MacOS 10.13.6
java version 1.8.0_162
Exception in thread "main"
java.lang.AssertionError: pom file must not be
null from PolyglotModelManager as per API
at
org.sonatype.maven.polyglot.TeslaModelProcessor.locatePom(TeslaModelProcessor.java:65)
at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:457)
at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:398)
at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:362)
at
org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:400)
at
org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:391)
at
org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:78)
at
org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:511)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:221)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
at
org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev