 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
phimalaya Guest
|
Posted: Tue Aug 15, 2006 10:51 pm Post subject: two different WAR files |
|
|
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
|
Posted: Wed Aug 16, 2006 5:50 am Post subject: Re: two different WAR files |
|
|
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
|
Posted: Wed Aug 16, 2006 7:55 pm Post subject: Re: two different WAR files |
|
|
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 |
|
 |
|
|
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
|
|