ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | March 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Enhydra 5.1/Kelp 5.1: XMLC and DODS are invoked on non-Enhydra projects


Title: Message
Hi.
 
I configured Kelp tools with Eclipse 2.1 and they work great. I would say they work too well, because XMLC and DODS tools are invoked every time I build a project. Even if a project is not and Enhydra Application!
 
In short, I have 2 Eclipse projects, the first one is an Enhydra App, and the other one is not. I have a build.xml file for the non-Enhydra project, but when I run this as Ant build Eclipse starts XMLC and DODS tools, which build the first project. I unchecked "Invoke DODS generator during Ant rebuilds" and similar option for XMLC, but am still getting non-Enhydra project builds invoking them.
 
What should I do to disable DODS and XMLC invocations during builds of non-Enhydra projects?

Thanks.
 
Oleg
 
-----Original Message-----
From: Sinisa Milosevic [mailto:sinisa@xxxxxxxxxxxxx]
Sent: Tuesday, December 23, 2003 4:26 AM
To: enhydra@xxxxxxxxxxx
Subject: Re: Enhydra: Enhydra 5.1/Kelp 5.1: JBuilder9 always recompilingwhole project
Importance: Low

 Hi,

 

    If you don't want your source code to be compiled every time you run the project, please change your running target from Rebuild to Make.

 

    Steps for changing running target:

        1. Go to "Project" submenu (of JBuilder's main many) and chose "Project Properties.." option,

 

        2. Chose "Run" tab, chose your "Runtime configuration" (probably the only one suggested) and click on "Edit" button,

 

        3. Change "Build target" combo option from Rebuild to Make and close two opened dialogs by pressing "OK" button.

 

This should make you source code (java files placed in src folder) compiled only if it's changed (Make target should not delete classes directory on it's execution like Rebuild target).

------------------------------------------------------------------------------------------

Initially, XMLC is set to process input pages every time also.

To change this, please edit projects build.xml file.

 

Operation is rather simple:

        Just comment

 

           = 0 <delete dir="${basedir}/xmlc_for_compile"/>

 

        command placed (hopefully) at the end of target named "makexmlc".

 

Now, XMLC will process only the pages, which source is changed, and everything else will remain as is.

 

----------------------------------------------------------------------------------------------

Also, initially, DODS is set to generate source code every time.

To change this, you'll have to edit projects build.xml file (again).

       

 Just change initial setting of dods attribute  'force' to "false".(placed in dods task, which is called in target named "dods" - as a default, this attribute is set to "true").

 Now, only if you change *.doml file new source code will be generated.

 

   

    Sinisa Milosevic,

    Together Serbia

 

 

 

----- Original Message -----
Sent: Monday, December 22, 2003 5:50 PM
Subject: Re: Enhydra: Enhydra 5.1/Kelp 5.1: JBuilder9 always recompilingwhole project

Hi Petr,

- go to: Project Properties | Run (tab)
- then click "edit" for the runtime configuration that you are using.
- then select <none> as build target.

That should do it. Good luck.

James.

On Mon, 2003-12-22 at 15:52, Petr Stehlik wrote:
Hi,

JBuilder9 keeps recompiling the whole project even if there is no change
in source files - whenever I click on 'Run' it starts with XMLC and then
the whole java source files set.

Any idea how to fix this?

Petr


_______________________________________________
Enhydra mailing list
Enhydra@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/enhydra
 
*************************************
This e-mail may contain privileged or confidential material intended for the named recipient only.
If you are not the named recipient, delete this message and all attachments.
Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited.
We reserve the right to monitor e-mail sent through our network.
*************************************


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.