Re: Enhydra 5.1/Kelp 5.1: JBuilder9 always recompilingwhole project
"Sinisa Milosevic" <[email protected]> Tue, 23 Dec 2003 12:25:39 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
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
<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 -----
From: James Carnegie
To: [email protected]
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
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/enhydra