NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

VWP: Deploy of images/resources separately

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Xavier Callejas
Posted via mailing list.





PostPosted: Sun Mar 01, 2009 3:33 am    Post subject: VWP: Deploy of images/resources separately Reply with quote

Hi,

I have a VWP application, I use several icons/images, now the /resources
directory is about 20mb so when I make changes to the project you can image
how difficult/time consuming is to rebuild the .war and upload to the
application server.

How can I separate the resources directory to be deployed separately and
even the project could access the resources as "local resources"?

I have tried build them in another project and set the url of the images to
'http://localhost:8080/ResourcesProject/images/myimage.png' , but obiously
if I run this from another computer the pages won't have acces to them.

Thanks in advance.
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 633
Location: Simpsonville, SC

PostPosted: Tue Mar 03, 2009 5:55 pm    Post subject: VWP: Deploy of images/resources separately Reply with quote

Are you using NetBeans 6.5? It should have an auto-deploy on save which would update your test application on the local server.

On Sat, Feb 28, 2009 at 10:26 PM, Xavier Callejas <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi,

I have a VWP application, I use several icons/images, now the /resources
directory is about 20mb so when I make changes to the project you can image
how difficult/time consuming is to rebuild the .war and upload to the
application server.

How can I separate the resources directory to be deployed separately and
even the project could access the resources as "local resources"?

I have tried build them in another project and set the url of the images to
'http://localhost:8080/ResourcesProject/images/myimage.png' , but obiously
if I run this from another computer the pages won't have acces to them.

Thanks in advance.





--
John Yeary
--
http://javaevangelist.blogspot.com

"Far better it is to dare might things, to win glorious triumphs, even though checkered by failure,

than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the grey

twilight that knows not victory nor defeat." -- Theodore Roosevelt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo