Home » Newcomers » Newcomers » Exporting Plugin missing build property values
|
Re: Exporting Plugin missing build property values [message #1829973 is a reply to message #1829961] |
Wed, 15 July 2020 05:07 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
That message is generated here:
https://git.eclipse.org/c/pde/eclipse.pde.build.git/tree/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java#n1742
So I suspect something isn't configured quite right in your build.properties. PDE seems to think there are source files (*.java), that need to be compiled to produce the jar and it doesn't know where to find them.
In a perhaps similar situation in one of EMF's plugins where there is a jar that does need to be built, the build.properties are specified like this:bin.includes = META-INF/,\
.,\
about.html,\
plugin.properties,\
plugin.xml,\
ant_tasks/emf.ant.tasks.jar
src.includes = about.html,\
readme.html,\
examples/
jars.compile.order = .,\
ant_tasks/emf.ant.tasks.jar
source.. = src/
output.. = bin/
source.ant_tasks/emf.ant.tasks.jar = tasks/
output.ant_tasks/emf.ant.tasks.jar = bin.tasks/
exclude.. = **/doc-files/**
exclude.ant_tasks/emf.ant.tasks.jar = **/doc-files/**
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Exporting Plugin missing build property values [message #1830009 is a reply to message #1829973] |
Wed, 15 July 2020 17:25 |
Katya Doersam Messages: 26 Registered: June 2020 |
Junior Member |
|
|
The jars are stored in a folder called "lib" in the project. The folder is at the same level as the src folder in the project. When I exported the plugin again, after setting each pathway to the necessary jars, the plugin produces an @dot.log file, which tells me that
the imports that require my external jars to run, the jars in the project/lib folder, cannot be resolved. What *.java files might it need in order to pull in the correct information?
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
icons/,\
src/lib/commons-io-2.6.jar,\
src/lib/daffodil-io_2.12-2.5.0.jar,\
src/lib/daffodil-japi_2.12-2.5.0.jar,\
src/lib/daffodil-lib_2.12-2.5.0.jar,\
src/lib/icu4j-62.1.jar,\
src/lib/scala-library-2.12.6.jar,\
src/lib/scala-parser-combinators_2.12-1.1.1.jar,\
lib/
source.lib/commons-io-2.6.jar = lib/
source.lib/scala-library-2.12.6.jar = lib/
source.lib/scala-parser-combinators_2.12-1.1.1.jar = lib/
source.lib/daffodil-io_2.12-2.5.0.jar = lib/
source.lib/daffodil-japi_2.12-2.5.0.jar = lib/
source.lib/daffodil-lib_2.12-2.5.0.jar = lib/
source.lib/icu4j-62.1.jar = lib/
jars.compile.order = lib/scala-parser-combinators_2.12-1.1.1.jar,\
lib/commons-io-2.6.jar,\
lib/daffodil-japi_2.12-2.5.0.jar,\
lib/icu4j-62.1.jar,\
lib/scala-library-2.12.6.jar,\
lib/daffodil-io_2.12-2.5.0.jar,\
lib/daffodil-lib_2.12-2.5.0.jar,\
.
|
|
|
Re: Exporting Plugin missing build property values [message #1830028 is a reply to message #1830009] |
Thu, 16 July 2020 04:13 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This does look confusingly wrong to me. It seems pretty likely to me that you don't have all the sources for these jars and don't need to compile those sources to produce those jars. If you did have the sources for each, each source.lib/*.jar property would have different folder for that jar's sources, and there would be a corresponding output.lib/*.jar property for each to tell PDE where to compile the sources too before jarring them up.
I suspect that you have all these jars already existing, copied into your lib folder, and that your bin.includes should just include lib/, which it already does. In that case, all your other src/lib/* entries for the bin.includes properties should be removed as well as all the source.lib/*.jar properties. The jars should not be in the src folder.
I'm not sure how you've specified the build path for this project though. I'd expect the jars to be listed only in the Libraries tab.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Thu Apr 25 05:49:28 GMT 2024
Powered by FUDForum. Page generated in 0.08563 seconds
|