Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Some help needed to understand a warning re. build.properties
Some help needed to understand a warning re. build.properties [message #234480] Wed, 16 August 2006 04:02 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #234597 is a reply to message #234514] Wed, 16 August 2006 18:30 Go to previous messageGo to next message
Eclipse UserFriend
"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???

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
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 Go to previous message
Eclipse UserFriend
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
>
>
>
Previous Topic:Current text selection does not resolve to a Java element?
Next Topic:Plugin Wizard: warnings in generated code...
Goto Forum:
  


Current Time: Sun Jun 08 00:11:42 EDT 2025

Powered by FUDForum. Page generated in 0.03406 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top