This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 83018 - domains location should be read from asenv.(bat|sh)
Summary: domains location should be read from asenv.(bat|sh)
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 19:17 UTC by _ ludo
Modified: 2006-09-09 01:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ ludo 2006-08-18 19:17:00 UTC
the plugin hard codes the domains/ location to (ASINSTALL)/domains (or /opt/...
for unix root)

IT should read the value from the config/asenv file:

set AS_DEF_DOMAINS_PATH=C:\Sun\AppServerb48\domains 

This way, a user could decide to put this default in a different place, and the
plugin would still find all these domains.

So I guess we need to grep for  "domains" and do the change in all the places.
Comment 1 Vince Kraemer 2006-08-22 00:43:46 UTC
write parser for asenv.bat....  [asenv.conf could be treated like a property file]

I do not think this is a common use-case for the server.
Comment 2 Vince Kraemer 2006-09-09 01:48:32 UTC
I think I got them all.

http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=2138

Reopen with pointers to specific class names if you run into one.