[jboss-svn-commits] JBL Code SVN: r11433 - labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Apr 29 08:01:13 EDT 2007
Author: beve
Date: 2007-04-29 08:01:13 -0400 (Sun, 29 Apr 2007)
New Revision: 11433
Modified:
labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml
labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml
Log:
Added a check to see if the ftp properties have been set. Added a dependency to jbm-queue-service.xml
Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml 2007-04-28 17:53:17 UTC (rev 11432)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml 2007-04-29 12:01:13 UTC (rev 11433)
@@ -12,6 +12,11 @@
<copy file="log4j.xml" tofile="build/log4j.xml"/>
</target>
+ <fail unless="quickstart.jbossesb.ftp.hostname" message="quickstart.jbossesb.ftp.hostname must be set in quickstart.properties"/>
+ <fail unless="quickstart.jbossesb.ftp.username" message="quickstart.jbossesb.ftp.username must be set in quickstart.properties"/>
+ <fail unless="quickstart.jbossesb.ftp.password" message="quickstart.jbossesb.ftp.password must be set in quickstart.properties"/>
+ <fail unless="quickstart.jbossesb.ftp.directory" message="quickstart.jbossesb.ftp.directory must be set in quickstart.properties"/>
+
<target name="runtest" depends="compile"
description="will create a test file that will trigger the FTP action">
<tstamp>
Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml 2007-04-28 17:53:17 UTC (rev 11432)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml 2007-04-29 12:01:13 UTC (rev 11433)
@@ -4,5 +4,7 @@
name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_ftp_esb"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+
</mbean>
</server>
More information about the jboss-svn-commits
mailing list