Some help needed to understand a warning re. build.properties [message #234480] |
Wed, 16 August 2006 04:02  |
Eclipse User |
|
|
|
I usually try to develop my stuff such that I do not get *any* warnings
(with most options set to warning-level). In the problems view I
currently get a warning that reads:
Description: "src/ is not included in any "source.*" build
Resource: build.properties
Path: entry tester
Location: line 1 1155714268120 8831720
I am having troubles to understand this. What is this warning trying to
tell me? I am not an ant expert, so maybe this is really trivial...
Background: I am developing an eclipse plugin (called tester) that wraps
a library that we developed, exercises it a bit with misc. test data and
collects some statistics during the process. Some hooks are injected
into the original library code using Aspect-J. The build-process and the
plugin seem to work all fine, I am only puzzled about this warning.
The build.properties was (I suppose) generated by the Plugin-Generation
Wizard. It reads:
---------------------------
bin.includes = demo/,\
html/,\
icons/,\
META-INF/,\
plugin.properties,\
plugin.xml,\
toc.xml,\
tester.readme,\
lib/aspectjrt.jar,\
build/tester/StatisticsAspect.class,\
tester.jar
bin.excludes = icons/unused/
---------------------------
Any idea what could cause this? What would I have to add/remove/change
to make that warning disappear?
Michael
|
|
|
Re: Some help needed to understand a warning re. build.properties [message #234514 is a reply to message #234480] |
Wed, 16 August 2006 07:06   |
Eclipse User |
|
|
|
Michael Moser wrote:
> I usually try to develop my stuff such that I do not get *any*
> warnings (with most options set to warning-level). In the problems
> view I currently get a warning that reads:
>
> Description: "src/ is not included in any "source.*" build
> Resource: build.properties
> Path: entry tester
> Location: line 1 1155714268120 8831720
>
>
> I am having troubles to understand this. What is this warning trying
> to tell me?
It's pretty simple: it warns you about the fact that your Java project
has a source folder that will not land in the final build.
Dani
> I am not an ant expert, so maybe this is really trivial...
>
> Background: I am developing an eclipse plugin (called tester) that
> wraps a library that we developed, exercises it a bit with misc. test
> data and collects some statistics during the process. Some hooks are
> injected into the original library code using Aspect-J. The
> build-process and the plugin seem to work all fine, I am only puzzled
> about this warning.
>
> The build.properties was (I suppose) generated by the
> Plugin-Generation Wizard. It reads:
> ---------------------------
> bin.includes = demo/,\
> html/,\
> icons/,\
> META-INF/,\
> plugin.properties,\
> plugin.xml,\
> toc.xml,\
> tester.readme,\
> lib/aspectjrt.jar,\
> build/tester/StatisticsAspect.class,\
> tester.jar
> bin.excludes = icons/unused/
> ---------------------------
>
> Any idea what could cause this? What would I have to add/remove/change
> to make that warning disappear?
>
> Michael
>
|
|
|
|
Re: Some help needed to understand a warning re. build.properties [message #234611 is a reply to message #234597] |
Thu, 17 August 2006 03:20  |
Eclipse User |
|
|
|
Michael Moser wrote:
> "Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
> news:ebuu86$oil$1@utils.eclipse.org...
>
>> ...
>> It's pretty simple: it warns you about the fact that your Java
>> project has a source folder that will not land in the final build.
>
>
> OK - peeking into a few other build.properties files I found that adding
> ---------------
> ...
> source.. = src/
> bin.includes = .,\
> ...
> ---------------
>
> finally silenced all these warnings.
> Or do the above have unwanted side-effects? They seem to me like (most
> likely in principle unecessary) defaults, but why then these warnings???
They are not unnecessary, as said before without that your (PDE)
exported plug-in will not contain the code for that source folder. Of
course if you don't use PDE to export then you can delete the whole file.
Dani
>
> IMHO the above should either be added automatically to all generated
> build.properties-files or then these warnings should be omitted... Or
> am I missing something substantial here?
>
> Michael
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02963 seconds