Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » clean/build problem
clean/build problem [message #155497] Thu, 22 April 2004 04:51 Go to next message
Eclipse UserFriend
Autobuilding-on-saving is turned off. "Project -> Clean... -> [select
anything here]" command does nothing. After manually emptying of output
directory (and, as a variant, refreshing in Navigator) "Project ->
Build All" command does nothing too.

"Java-Compiler-Build Path-Clean output..." checkbox in prefs is checked.

Enviroment: linux 2.4.25, j2se 1.4.2_04.
The problem takes place at least with two last integration builds.

I can not imagine such problem is a bug, as, I think, some efforts take
place to make integration builds workable, and I think I'm wrong somewhere.
Can anybody point me the way to solve the problem?
Re: clean/build problem [message #155514 is a reply to message #155497] Thu, 22 April 2004 05:12 Go to previous messageGo to next message
Eclipse UserFriend
Doing the following:
- Project->Clean->OK
- Projct>Build All
works for me, i.e. this recompiles all my projects.

There is no need to empty the output directory (and it is not recommended to
do so as this could prevent the incremental compiler from working
correctly).

Note the compilation is done in the background which could give you the
impression that nothing is happening.

Can you give us more details on your setup? Also what build of Eclipse are
you using?

Jerome

"Andrew Gaydenko" <a@etver.com> wrote in message
news:c6811s$61l$1@eclipse.org...
> Autobuilding-on-saving is turned off. "Project -> Clean... -> [select
> anything here]" command does nothing. After manually emptying of output
> directory (and, as a variant, refreshing in Navigator) "Project ->
> Build All" command does nothing too.
>
> "Java-Compiler-Build Path-Clean output..." checkbox in prefs is checked.
>
> Enviroment: linux 2.4.25, j2se 1.4.2_04.
> The problem takes place at least with two last integration builds.
>
> I can not imagine such problem is a bug, as, I think, some efforts take
> place to make integration builds workable, and I think I'm wrong
somewhere.
> Can anybody point me the way to solve the problem?
>
Re: clean/build problem [message #155530 is a reply to message #155514] Thu, 22 April 2004 05:17 Go to previous messageGo to next message
Eclipse UserFriend
Jerome,

1. If I see "Clean", I'd want to clean output directory :-)
Use case is simple. Imagine, from some time I don't need
some of resources to be copied to output dir.

2. "Build All" must do it (build all), I think. Imagine such
use case: close the IDE, clean output directory any way,
start the IDE. And "Build All" builds nothing.

3. Some details are: linux 2.4.25, j2se 1.4.2_04, last
integration build (20 of april, 13:00). What additional
details must I supply?

Amdrew


================ Jerome Lanneluc wrote:

> Doing the following:
> - Project->Clean->OK
> - Projct>Build All
> works for me, i.e. this recompiles all my projects.

> There is no need to empty the output directory (and it is not recommended to
> do so as this could prevent the incremental compiler from working
> correctly).

> Note the compilation is done in the background which could give you the
> impression that nothing is happening.

> Can you give us more details on your setup? Also what build of Eclipse are
> you using?

> Jerome

> "Andrew Gaydenko" <a@etver.com> wrote in message
> news:c6811s$61l$1@eclipse.org...
> > Autobuilding-on-saving is turned off. "Project -> Clean... -> [select
> > anything here]" command does nothing. After manually emptying of output
> > directory (and, as a variant, refreshing in Navigator) "Project ->
> > Build All" command does nothing too.
> >
> > "Java-Compiler-Build Path-Clean output..." checkbox in prefs is checked.
> >
> > Enviroment: linux 2.4.25, j2se 1.4.2_04.
> > The problem takes place at least with two last integration builds.
> >
> > I can not imagine such problem is a bug, as, I think, some efforts take
> > place to make integration builds workable, and I think I'm wrong
> somewhere.
> > Can anybody point me the way to solve the problem?
> >
Re: clean/build problem [message #155537 is a reply to message #155530] Thu, 22 April 2004 06:32 Go to previous messageGo to next message
Eclipse UserFriend
"Andrew Gaydenko" <a@etver.com> wrote in message
news:c682j3$8be$1@eclipse.org...
> Jerome,
>
> 1. If I see "Clean", I'd want to clean output directory :-)
I'm not sure I agree here. How the word 'clean' implies the output dir?
However if this is what you expect, then the menu item should be renamed (to
something like 'Clean output...' for example). You should enter a bug report
asking for this.

> Use case is simple. Imagine, from some time I don't need
> some of resources to be copied to output dir.
If you want to filter some resources from being copied to the output dir,
you should use Window->Preferences->Java->Compiler->Build Path->Filtered
Resources.

>
> 2. "Build All" must do it (build all), I think.
AFAIK 'Build All' does build all. However I don't expect it to do anything
if projects are already built. And cleaning up the output does not mark the
project as 'not built'. See below.

> Imagine such use case: close the IDE, clean output directory any way,
> start the IDE. And "Build All" builds nothing.
As I said, you should not clean the output directory. Consider it the
property of the Java builder. Messing with this directory is not supported.

>
> 3. Some details are: linux 2.4.25, j2se 1.4.2_04, last
> integration build (20 of april, 13:00). What additional
> details must I supply?
I think there are enough details. It works as designed. However it looks
like this design is not what you expect. So you should enter a bug report
asking for this to be clarified. If you're confused by this, others will be
confused.

>
> Amdrew
>
>
> ================ Jerome Lanneluc wrote:
>
> > Doing the following:
> > - Project->Clean->OK
> > - Projct>Build All
> > works for me, i.e. this recompiles all my projects.
>
> > There is no need to empty the output directory (and it is not
recommended to
> > do so as this could prevent the incremental compiler from working
> > correctly).
>
> > Note the compilation is done in the background which could give you the
> > impression that nothing is happening.
>
> > Can you give us more details on your setup? Also what build of Eclipse
are
> > you using?
>
> > Jerome
>
> > "Andrew Gaydenko" <a@etver.com> wrote in message
> > news:c6811s$61l$1@eclipse.org...
> > > Autobuilding-on-saving is turned off. "Project -> Clean... -> [select
> > > anything here]" command does nothing. After manually emptying of
output
> > > directory (and, as a variant, refreshing in Navigator) "Project ->
> > > Build All" command does nothing too.
> > >
> > > "Java-Compiler-Build Path-Clean output..." checkbox in prefs is
checked.
> > >
> > > Enviroment: linux 2.4.25, j2se 1.4.2_04.
> > > The problem takes place at least with two last integration builds.
> > >
> > > I can not imagine such problem is a bug, as, I think, some efforts
take
> > > place to make integration builds workable, and I think I'm wrong
> > somewhere.
> > > Can anybody point me the way to solve the problem?
> > >
>
>
Re: clean/build problem [message #155543 is a reply to message #155537] Thu, 22 April 2004 07:06 Go to previous messageGo to next message
Eclipse UserFriend
Jerome,

Mostly, I accept your notes. But such design remembers me MS ideology,
when a computer is more clever rather I am :-) I think, to resolve all
the issues here, it is sufficient to add something like "Force full
rebuild" action to menu. Now I can do it via changing some prefs only.

I have filed the bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=59605

Andrew

============ Jerome Lanneluc wrote:

> "Andrew Gaydenko" <a@etver.com> wrote in message
> news:c682j3$8be$1@eclipse.org...
> > Jerome,
> >
> > 1. If I see "Clean", I'd want to clean output directory :-)
> I'm not sure I agree here. How the word 'clean' implies the output dir?
> However if this is what you expect, then the menu item should be renamed (to
> something like 'Clean output...' for example). You should enter a bug report
> asking for this.

> > Use case is simple. Imagine, from some time I don't need
> > some of resources to be copied to output dir.
> If you want to filter some resources from being copied to the output dir,
> you should use Window->Preferences->Java->Compiler->Build Path->Filtered
> Resources.

> >
> > 2. "Build All" must do it (build all), I think.
> AFAIK 'Build All' does build all. However I don't expect it to do anything
> if projects are already built. And cleaning up the output does not mark the
> project as 'not built'. See below.

> > Imagine such use case: close the IDE, clean output directory any way,
> > start the IDE. And "Build All" builds nothing.
> As I said, you should not clean the output directory. Consider it the
> property of the Java builder. Messing with this directory is not supported.

> >
> > 3. Some details are: linux 2.4.25, j2se 1.4.2_04, last
> > integration build (20 of april, 13:00). What additional
> > details must I supply?
> I think there are enough details. It works as designed. However it looks
> like this design is not what you expect. So you should enter a bug report
> asking for this to be clarified. If you're confused by this, others will be
> confused.
Re: clean/build problem [message #155583 is a reply to message #155543] Thu, 22 April 2004 12:47 Go to previous messageGo to next message
Eclipse UserFriend
Did you read "Improving the Eclipse Build Story" [1]?

[1] http://dev.eclipse.org/viewcvs/index.cgi/platform-core-home/ documents/scoped_builds.html?rev=1.1
Re: clean/build problem [message #155606 is a reply to message #155583] Thu, 22 April 2004 14:36 Go to previous message
Eclipse UserFriend
Vladimir, thanks. Now, I have read it. I'm a victim :-) of
the "Proposed Improvements", as I have met them in practice.



Vladimir wrote:

> Did you read "Improving the Eclipse Build Story" [1]?

>
[1] http://dev.eclipse.org/viewcvs/index.cgi/platform-core-home/ documents/scoped_builds.html?rev=1.1
Previous Topic:Running JUnit, Eclipse 2.1.1, Solaris
Next Topic:spell checker 'errors'
Goto Forum:
  


Current Time: Sat Jun 21 10:47:56 EDT 2025

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

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

Back to the top