What is incremental deployment?

View: New views
4 Messages — Rating Filter:   Alert me  

What is incremental deployment?

by wbossons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And can it be turned off. I want to see if I can speed up NB 6.1 deploy
time and this seems to be where the progress indicator sits the longest.

..\Wendy

--
..\Wendy
Wendy Bossons
Senior User Interface Developer
Harvard-MIT Data Center
Office Phone:  617-384-5701
Email: wbossons <at> hmdc.harvard.edu


Re: What is incremental deployment?

by vince kraemer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are using GF v2 you can...

open the Servers dialog, by right-clicking on the server and selecting
the Properties item
select the Options tab
uncheck the 'Directory Deployment Enabled'

BUT PLEASE DO NOT DO THIS YET...

Read through...
http://www.adam-bien.com/roller/abien/entry/how_fast_is_the_build 
(including the comments) and  
http://blogs.sun.com/vkraemer/entry/faster_netbeans_on_windows

The fix for the problem that prompted this question may have already
been patched... if you haven't gotten patch 2, TRY THAT FIRST.

If there is still a problem, provide more details about your particular
situation (in a bug report) and I will look into it...

Thanks,
vbk

Wendy Bossons wrote:
> And can it be turned off. I want to see if I can speed up NB 6.1
> deploy time and this seems to be where the progress indicator sits the
> longest.
>
> ..\Wendy
>


Re: What is incremental deployment?

by wbossons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Vince,

I think that I don't have as much issue with the incremental deployment
now . . . perhaps I just caught that first run and correlated it with
the slow behavior of the undeploy and deploy option. I generally find
using the Run button to be my best bet for quickly seeing my changes.
The article you sent explains this.

But it is tedious to undeploy and deploy from within Netbeans -- it
seems much slower than if I use the Glassfish console to do those
operations.

Regarding patch 2 ... I've been unsuccessful with patches, getting
multiple jsp parser (0530....) error messages when I install the
patches. Then NB gets unstable and I spend hours trying to fix it,
usually reinstalling Netbeans to get things running smoothly again.

I'm stuck because I must have the facelets plugin, which does not
install correctly if you've already installed the patches. And vice
versa, the patches don't install -- although I'm told some will -- if
you install the facelets plugin first.

If I have time next week -- I'm in a tight release schedule this week --
I will try the patches again. If you have any advice on how to install
the patches without experiencing this jspparser error/exception, please
let me know.

Thanks so much for your quick reply....

..\Wendy

************************************


Vince Kraemer wrote:

> If you are using GF v2 you can...
>
> open the Servers dialog, by right-clicking on the server and selecting
> the Properties item
> select the Options tab
> uncheck the 'Directory Deployment Enabled'
>
> BUT PLEASE DO NOT DO THIS YET...
>
> Read through...
> http://www.adam-bien.com/roller/abien/entry/how_fast_is_the_build 
> (including the comments) and  
> http://blogs.sun.com/vkraemer/entry/faster_netbeans_on_windows
>
> The fix for the problem that prompted this question may have already
> been patched... if you haven't gotten patch 2, TRY THAT FIRST.
>
> If there is still a problem, provide more details about your
> particular situation (in a bug report) and I will look into it...
>
> Thanks,
> vbk
>
> Wendy Bossons wrote:
>> And can it be turned off. I want to see if I can speed up NB 6.1
>> deploy time and this seems to be where the progress indicator sits
>> the longest.
>>
>> ..\Wendy
>>
>

--
..\Wendy
Wendy Bossons
Senior User Interface Developer
Harvard-MIT Data Center
Office Phone:  617-384-5701
Email: wbossons <at> hmdc.harvard.edu


Re: What is incremental deployment?

by vince kraemer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wendy Bossons wrote:

> Hello Vince,
>
> I think that I don't have as much issue with the incremental
> deployment now . . . perhaps I just caught that first run and
> correlated it with the slow behavior of the undeploy and deploy
> option. I generally find using the Run button to be my best bet for
> quickly seeing my changes. The article you sent explains this.
>
> But it is tedious to undeploy and deploy from within Netbeans -- it
> seems much slower than if I use the Glassfish console to do those
> operations.

Doesn't just seem... it is much slower in 6.1...  and has been since 6.0.

I don't work on Windows regularly and it took some time for a user
working in that environment to provide a clear description of the issue
that they were seeing...

>
> Regarding patch 2 ... I've been unsuccessful with patches, getting
> multiple jsp parser (0530....) error messages when I install the
> patches. Then NB gets unstable and I spend hours trying to fix it,
> usually reinstalling Netbeans to get things running smoothly again.
>
> I'm stuck because I must have the facelets plugin, which does not
> install correctly if you've already installed the patches. And vice
> versa, the patches don't install -- although I'm told some will -- if
> you install the facelets plugin first.
>
> If I have time next week -- I'm in a tight release schedule this week
> -- I will try the patches again. If you have any advice on how to
> install the patches without experiencing this jspparser
> error/exception, please let me know.
>

I don't use the facelet plugin... so I haven't run into the problems
that you have alluded to here.  Have you opened an issue with details
about the problems that you see when you install the patch over a build
that includes the facelets plugin?

It would be hard for somebody to provide help for this... since they
don't have a lot of details to work against....

vbk

> Thanks so much for your quick reply....
>
> ..\Wendy
>