BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

two different WAR files

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment
View previous topic :: View next topic  
Author Message
phimalaya
Guest





PostPosted: Tue Aug 15, 2006 10:51 pm    Post subject: two different WAR files Reply with quote



hi,

is there any way to configure jbuilder 2006 in such a way that can generate
two different WAR files. i want to geneate one file which contains some
important license related files and the other one for clients, which
excludes license related files.

thanks
Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Wed Aug 16, 2006 5:50 am    Post subject: Re: two different WAR files Reply with quote



phimalaya wrote:
Quote:
hi,

is there any way to configure jbuilder 2006 in such a way that can generate
two different WAR files. i want to geneate one file which contains some
important license related files and the other one for clients, which
excludes license related files.

thanks



If it's really just a few text files, then I would create one of the WAR
files (let's say the one without the license files), and I would create
an Ant build file with a copy task (to copy the war file), and a jar
task that modifies the copied file to add the license files.

--

Regards,

Lori Olson [TeamB]

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

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
phimalaya
Guest





PostPosted: Wed Aug 16, 2006 7:55 pm    Post subject: Re: two different WAR files Reply with quote



lori, thanks for your reply.

now that WAR also contains class files related to license. what would be
your advise in that case?

second, when i exclude these lic files in (my web module in) JB, i have to
copy the license text file everytime i rebuild the project and want to
run/test it during development. what would be your advise in that case?

"Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com> wrote in message
news:44e26bcf$1 (AT) newsgroups (DOT) borland.com...
Quote:
phimalaya wrote:
hi,

is there any way to configure jbuilder 2006 in such a way that can
generate two different WAR files. i want to geneate one file which
contains some important license related files and the other one for
clients, which excludes license related files.

thanks

If it's really just a few text files, then I would create one of the WAR
files (let's say the one without the license files), and I would create an
Ant build file with a copy task (to copy the war file), and a jar task
that modifies the copied file to add the license files.

--

Regards,

Lori Olson [TeamB]

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

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.