Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Editing a WSDL in a Java project: everytime a new building?
Editing a WSDL in a Java project: everytime a new building? [message #204342] Tue, 13 November 2007 10:42 Go to next message
Eclipse User
Originally posted by: mauro.molinari.cardinis.com

Hello all!
I'm working on a WSDL inside a normal Java project. Every time I do any
change and save the WSDL, the automatic building feature of Eclipse
starts to re-build the project...
It's quite frustrating and useless... any idea on why this happens?

I'm using Eclipse 3.3.1, WTP 2.0.2 (build 20071102).

Cheers.
Mauro.
Re: Editing a WSDL in a Java project: everytime a new building? [message #204350 is a reply to message #204342] Tue, 13 November 2007 11:27 Go to previous messageGo to next message
Eclipse User
Originally posted by: mauro.molinari.cardinis.com

Mauro Molinari ha scritto:
> Hello all!
> I'm working on a WSDL inside a normal Java project. Every time I do any
> change and save the WSDL, the automatic building feature of Eclipse
> starts to re-build the project...
> It's quite frustrating and useless... any idea on why this happens?

Actually, it seems that something got corrupted: every time I do ANY
change in ANY file, a full rebuild of the project is started... :-(

Any idea on what is going on?

Thanks in advance for any help.
Mauro.
Re: Editing a WSDL in a Java project: everytime a new building? [message #204358 is a reply to message #204350] Tue, 13 November 2007 12:14 Go to previous messageGo to next message
Eclipse User
Originally posted by: dcarver.starstandard.org

Mauro Molinari wrote:
> Mauro Molinari ha scritto:
>> Hello all!
>> I'm working on a WSDL inside a normal Java project. Every time I do
>> any change and save the WSDL, the automatic building feature of
>> Eclipse starts to re-build the project...
>> It's quite frustrating and useless... any idea on why this happens?
>
> Actually, it seems that something got corrupted: every time I do ANY
> change in ANY file, a full rebuild of the project is started... :-(
>
> Any idea on what is going on?

If you don't want the automatic rebuilding of the WSDL files, when you
save or delete a resource from a Java project, you can go into the
project Properties, select Validation, and then select Over Rider System
settings. This will create a project specific setting. To only have
it do manual validation (i.e. When you specifically as it to validate),
turn off all the Build check boxes. This won't run any of the
validators when a Build is requested.

The reason you might want to do this besides the case that you have, is
when you have a large number of XSD, XML, or WSDL files that may take a
while to validate. If they are pretty small, validation can be done
quickly, larger more complex files will take a greater time to validate.
In most cases it should be using an incremental validator, but since
WSDL and XSD files can be tightly integrated and deleting or changing
one may affect the others, the project wide validation will kick off
unless you tell it not to.
Re: Editing a WSDL in a Java project: everytime a new building? [message #204366 is a reply to message #204358] Tue, 13 November 2007 12:33 Go to previous messageGo to next message
Eclipse User
Originally posted by: mauro.molinari.cardinis.com

David Carver ha scritto:
> The reason you might want to do this besides the case that you have, is
> when you have a large number of XSD, XML, or WSDL files that may take a
> while to validate. If they are pretty small, validation can be done
> quickly, larger more complex files will take a greater time to validate.
> In most cases it should be using an incremental validator, but since
> WSDL and XSD files can be tightly integrated and deleting or changing
> one may affect the others, the project wide validation will kick off
> unless you tell it not to.

Thank you David!
The problem here is that when I edit ANY file and save, a full rebuild
(including compiling!!) of the project is done and I do not why...
I don't know what happened...

Actually, as I'm working with a simple Java project, automatic WSDL
validation does not work in any case.

As of now, I even don't know if it's a problem of WTP or of something
else... :-(

Mauro.
Re: Editing a WSDL in a Java project: everytime a new building? [message #204390 is a reply to message #204366] Wed, 14 November 2007 06:04 Go to previous message
Eclipse User
Originally posted by: mauro.molinari.cardinis.com

Mauro Molinari ha scritto:
> The problem here is that when I edit ANY file and save, a full rebuild
> (including compiling!!) of the project is done and I do not why...
> I don't know what happened...

I found the problem: it was an incomplete class path problem that
prevented the build process to complete normally: a .class file that was
indirectly referred by another could not be found.

After a couple of years developing with Eclipse, I think that class path
problems are critical and not highlighted enough... if you do not check
the Problems view, you could miss some vital information on what is
happening with your project...

Sorry David for making you waste your time.

Mauro.
Previous Topic:IWAB0489E Error when deploying Web service to Axis runtime
Next Topic:Q about EnterpriseBean.getEjbClass()
Goto Forum:
  


Current Time: Wed Jul 30 21:33:53 EDT 2014

Powered by FUDForum. Page generated in 0.01971 seconds