Ben,
Thanks, I will give that a try.
Adam
Ben Groeneveld
<bgroeneveld@ic To: JRun-Talk
<[EMAIL PROTECTED]>
i-web.com> cc:
Sent by: Subject: Re: Overwriting of
deploy.properties
[EMAIL PROTECTED]
11/13/00 02:19
PM
Please respond
to jrun-talk
Adam, I've been using makefiles and command line deploy to avoid use of a
properties file
altogether. For me this is an easier way to do system builds platform to
platform. Our
app is named doms. Maybe this will help you:
CONTAINER_DIR = /usr/local/JRun
DEPLOY_SERVER_NAME = default
DEPLOY_SERVER_DIR = $(CONTAINER_DIR)/servers/$(DEPLOY_SERVER_NAME)
DEPLOY_APP_NAME = doms
DEPLOY_APP_DIR = $(DEPLOY_SERVER_DIR)/$(DEPLOY_APP_NAME)
DIRS = $(DEPLOY_APP_DIR)
all: doms.war
doms.war:
jar cvf0M doms.war index.html WEB-INF
deploy: $(DIRS) all
cp doms.war $(DEPLOY_APP_DIR)/
java -classpath $(CLASSPATH):$(CONTAINER_DIR)/lib/jrun.jar \
allaire.jrun.tools.WarDeploy -deploy \
deploy.war.path=$(DEPLOY_APP_DIR)/doms.war \
deploy.server.name=$(DEPLOY_SERVER_NAME) \
deploy.webapp.name=$(DEPLOY_APP_NAME) \
deploy.context.path=/$(DEPLOY_APP_NAME) \
deploy.webapp.rootdir=$(DEPLOY_APP_DIR) \
deploy.jrun.rootdir=$(CONTAINER_DIR)
remove:
java -classpath $(CLASSPATH):/usr/local/JRun/lib/jrun.jar \
allaire.jrun.tools.WarDeploy -remove \
deploy.server.name=$(DEPLOY_SERVER_NAME) \
deploy.webapp.name=$(DEPLOY_APP_NAME) \
deploy.jrun.rootdir=$(CONTAINER_DIR)
$(DIRS):
-mkdir -p $(DIRS)
[EMAIL PROTECTED] wrote:
> Has anyone noticed that if you edit the deploy.properties directly that
it
> will get overwritten, when there is a re-deploy? This is what I have
> found to be the case. Do you have to enter all properties for the
> deploy.properties in the JMC?
>
> When you define bean properties in an ejb_jar.xml are these properties
> supposed to show up in the runtime.properties? Currently they are not
> showing up in my runtime.properties or deploy.properties. They do show
> up if I go through the JMC and look at the beans properties. Is this
> normal?
>
> Thanks for any information,
>
> Adam
>
>
------------------------------------------------------------------------------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
--
Ben Groeneveld
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.