Discussion:
[cppcheck-plugin] Unable to compile (missing sources)
Thomas Döring
2018-11-30 09:10:36 UTC
Permalink
Hi everyone,

I'm trying to compile the cppcheck-plugin with the GitHub sources. The
build fails because the `org.jenkinsci.plugins.cppcheck.model.*` sources
are missing.

[ERROR] /d:/Projects/GitHub/thomas-dee/cppcheck-plugin/src/main/java/com/
thalesgroup/hudson/plugins/cppcheck/parser/CppcheckParser.java:[28,44]
package org.jenkinsci.plugins.cppcheck.model does
not exist

Any ideas what I'm doing wrong here?

Thanks and greetings,
Thomas
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/fedb0392-e125-4dbd-ac9e-87aabed70274%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel Beck
2018-11-30 09:32:16 UTC
Permalink
Configure your IDE to include the generated sources directory in the sources (or just build with Maven).

https://github.com/jenkinsci/cppcheck-plugin/blob/c81b79534602f258216096170c091ad31f8b7e60/pom.xml#L154
Post by Thomas Döring
Hi everyone,
I'm trying to compile the cppcheck-plugin with the GitHub sources. The build fails because the `org.jenkinsci.plugins.cppcheck.model.*` sources are missing.
[ERROR] /d:/Projects/GitHub/thomas-dee/cppcheck-plugin/src/main/java/com/thalesgroup/hudson/plugins/cppcheck/parser/CppcheckParser.java:[28,44] package org.jenkinsci.plugins.cppcheck.model does
not exist
Any ideas what I'm doing wrong here?
Thanks and greetings,
Thomas
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/fedb0392-e125-4dbd-ac9e-87aabed70274%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7D71530C-7374-4B22-9F2A-2138A4C5A270%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Thomas Döring
2018-11-30 09:58:08 UTC
Permalink
I'm actually using VS Code + Maven plugin on Windows (and I'm a newbie on
that front) to build the plugin.

If I do a "clean" before every "compile" it works... a bit inconvenient,
but it works.

Thanks for your help.
Post by Daniel Beck
Configure your IDE to include the generated sources directory in the
sources (or just build with Maven).
https://github.com/jenkinsci/cppcheck-plugin/blob/c81b79534602f258216096170c091ad31f8b7e60/pom.xml#L154
Post by Thomas Döring
Hi everyone,
I'm trying to compile the cppcheck-plugin with the GitHub sources. The
build fails because the `org.jenkinsci.plugins.cppcheck.model.*` sources
are missing.
Post by Thomas Döring
[ERROR]
/d:/Projects/GitHub/thomas-dee/cppcheck-plugin/src/main/java/com/thalesgroup/hudson/plugins/cppcheck/parser/CppcheckParser.java:[28,44]
package org.jenkinsci.plugins.cppcheck.model does
Post by Thomas Döring
not exist
Any ideas what I'm doing wrong here?
Thanks and greetings,
Thomas
--
You received this message because you are subscribed to the Google
Groups "Jenkins Developers" group.
Post by Thomas Döring
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/fedb0392-e125-4dbd-ac9e-87aabed70274%40googlegroups.com.
Post by Thomas Döring
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cf3ab602-e472-49f5-aef8-170f9c5a9614%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...