[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-cvs
Subject:    [openejb-scm] [2509] trunk/openejb1: Should work on windows now
From:       dblevins () codehaus ! org
Date:       2006-02-26 0:30:24
Message-ID: 20060226003024.17655.qmail () codehaus ! org
[Download RAW message or body]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li { font-family: verdana,arial,helvetica,sans-serif; \
font-size: 10pt;  } #msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: \
bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: \
6px; } #msg ul, pre { overflow: auto; }
#patch { width: 100%; }
#patch h4 {font-family: \
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
 #patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins \
{background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del \
{background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, \
                .info {color:#888;background:#fff;}
--></style>
<title>[2509] trunk/openejb1: Should work on windows now</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2509</dd>
<dt>Author</dt> <dd>dblevins</dd>
<dt>Date</dt> <dd>2006-02-25 19:30:21 -0500 (Sat, 25 Feb 2006)</dd>
</dl>

<h3>Log Message</h3>
<pre>Should work on windows now</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkopenejb1READMEtxt">trunk/openejb1/README.txt</a></li>
<li><a href="#trunkopenejb1mavenxml">trunk/openejb1/maven.xml</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkopenejb1READMEtxt"></a>
<div class="modfile"><h4>Modified: trunk/openejb1/README.txt (2508 => 2509)</h4>
<pre class="diff">
<span class="info">--- trunk/openejb1/README.txt	2006-02-25 19:45:04 UTC (rev 2508)
+++ trunk/openejb1/README.txt	2006-02-26 00:30:21 UTC (rev 2509)
</span><span class="lines">@@ -9,20 +9,10 @@
</span><span class="cx">  
</span><span class="cx">  If you are reading this, you've already unpacked the \
OpenEJB release.   </span><span class="cx">  In that case, congratulations, you've \
installed OpenEJB.   </span><del>- 
- If you've unpacked OpenEJB into the directory C:\openejb, for example.
- Than this directory is your OPENEJB_HOME directory.  The OPENEJB_HOME
- directory is refered to in various parts of the documentation, so it's
- good to remeber where it is.
</del><span class="cx"> 
</span><del>- Add OPENEJB_HOME/bin directory to your PATH environment variable:
</del><ins>+ The scripts for starting, stopping, and deploying in openejb are located
+ in the bin directory under where OpenEJB was installed. 
</ins><span class="cx"> 
</span><del>-   set PATH=%OPENEJB_HOME%/bin;%PATH%
-
- or
-
-   export PATH=$OPENEJB_HOME/bin:$PATH
-
</del><span class="cx"> ___________________
</span><span class="cx"> Using OpenEJB
</span><span class="cx"> ===================
</span><span class="lines">@@ -33,11 +23,11 @@
</span><span class="cx">  
</span><span class="cx">  For Windows users, that looks like this:
</span><span class="cx">   
</span><del>-   C:\openejb&gt; openejb help
</del><ins>+   C:\openejb\bin&gt; openejb help
</ins><span class="cx">  
</span><span class="cx">  For UNIX/Linux/Mac OS X users, that looks like this:
</span><span class="cx">  
</span><del>-   [user@host openejb]# openejb help
</del><ins>+   [user@host openejb/bin]# openejb help
</ins><span class="cx">  
</span><span class="cx">  You really only need to know two commands to use OpenEJB, \
deploy </span><span class="cx">  and start.  Both are completely documented and have \
examples. </span></pre></div>
<a id="trunkopenejb1mavenxml"></a>
<div class="modfile"><h4>Modified: trunk/openejb1/maven.xml (2508 => 2509)</h4>
<pre class="diff">
<span class="info">--- trunk/openejb1/maven.xml	2006-02-25 19:45:04 UTC (rev 2508)
+++ trunk/openejb1/maven.xml	2006-02-26 00:30:21 UTC (rev 2509)
</span><span class="lines">@@ -615,18 +615,46 @@
</span><span class="cx"> --&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;goal name=&quot;start:tomcat&quot;&gt;
</span><del>-      &lt;exec executable=&quot;${tomcat.home}/bin/startup.sh&quot;&gt;
-      &lt;/exec&gt;
</del><ins>+      &lt;j:choose&gt;
+        &lt;j:when test=&quot;${systemScope['os.name'].startsWith('Windows')}&quot;&gt;
 +          &lt;exec executable=&quot;${tomcat.home}/bin/startup.bat&quot; \
os=&quot;Windows NT,Windows 2000,Windows XP&quot;&gt; +            &lt;env \
key=&quot;CATALINA_HOME&quot; value=&quot;${tomcat.home}&quot;/&gt; +          \
&lt;/exec&gt; +        &lt;/j:when&gt;
+        &lt;j:otherwise&gt;
+          &lt;exec executable=&quot;${tomcat.home}/bin/startup.sh&quot;/&gt;
+        &lt;/j:otherwise&gt;
+      &lt;/j:choose&gt;
</ins><span class="cx">     &lt;/goal&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;goal name=&quot;start:tomcat-debug&quot;&gt;
</span><del>-      &lt;exec executable=&quot;${tomcat.home}/bin/startup.sh&quot;&gt;
-      	&lt;env key=&quot;JAVA_OPTS&quot; value=&quot;-Dopenejb.home=${openejb.home} \
-Xdebug -Xnoagent -Djava.compiler=NONE \
                -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005&quot;/&gt;
                
-      &lt;/exec&gt;
</del><ins>+      &lt;j:choose&gt;
+        &lt;j:when test=&quot;${systemScope['os.name'].startsWith('Windows')}&quot;&gt;
 +          &lt;exec executable=&quot;${tomcat.home}/bin/startup.bat&quot; \
os=&quot;Windows NT,Windows 2000,Windows XP&quot;&gt; +            &lt;env \
key=&quot;JAVA_OPTS&quot; value=&quot;-Dopenejb.home=${openejb.home} -Xdebug \
-Xnoagent -Djava.compiler=NONE \
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005&quot;/&gt; +            \
&lt;env key=&quot;CATALINA_HOME&quot; value=&quot;${tomcat.home}&quot;/&gt; +         \
&lt;/exec&gt; +        &lt;/j:when&gt;
+        &lt;j:otherwise&gt;
+          &lt;exec executable=&quot;${tomcat.home}/bin/startup.sh&quot;&gt;
+            &lt;env key=&quot;JAVA_OPTS&quot; \
value=&quot;-Dopenejb.home=${openejb.home} -Xdebug -Xnoagent -Djava.compiler=NONE \
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005&quot;/&gt; +          \
&lt;/exec&gt; +        &lt;/j:otherwise&gt;
+      &lt;/j:choose&gt;
</ins><span class="cx">     &lt;/goal&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;goal name=&quot;stop:tomcat&quot;&gt;
</span><del>-      &lt;exec executable=&quot;${tomcat.home}/bin/shutdown.sh&quot; \
/&gt; </del><ins>+      &lt;j:choose&gt;
+        &lt;j:when test=&quot;${systemScope['os.name'].startsWith('Windows')}&quot;&gt;
 +          &lt;exec executable=&quot;${tomcat.home}/bin/shutdown.bat&quot;
+                os=&quot;Windows NT,Windows 2000,Windows XP&quot;&gt;
+            &lt;env key=&quot;CATALINA_HOME&quot; \
value=&quot;${tomcat.home}&quot;/&gt; +          &lt;/exec&gt;
+        &lt;/j:when&gt;
+        &lt;j:otherwise&gt;
+          &lt;exec executable=&quot;${tomcat.home}/bin/shutdown.sh&quot; /&gt;
+        &lt;/j:otherwise&gt;
+      &lt;/j:choose&gt;
</ins><span class="cx">     &lt;/goal&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;goal name=&quot;tomcat.env&quot;&gt;
</span></pre>
</div>
</div>

</body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic