[MOBY-guts] biomoby commit
Martin Senger
senger at pub.open-bio.org
Sun Nov 20 12:30:50 UTC 2005
senger
Sun Nov 20 07:30:50 EST 2005
Update of /home/repository/moby/moby-live/Java/docs
In directory pub.open-bio.org:/tmp/cvs-serv4966/docs
Modified Files:
EclipseAndJMoby.html WindowsAndJMoby.html
Log Message:
moby-live/Java/docs EclipseAndJMoby.html,1.6,1.7 WindowsAndJMoby.html,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/docs/EclipseAndJMoby.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/docs/EclipseAndJMoby.html 2005/09/21 07:56:55 1.6
+++ /home/repository/moby/moby-live/Java/docs/EclipseAndJMoby.html 2005/11/20 12:30:50 1.7
@@ -29,7 +29,7 @@
Because it was painful (I have yet to find a good reference guide for
Eclipse) I would like to share my experiences here. Please feel free
to add there yours, or correct my observations. Also, there are "more
-ways to do" things in Eclipse (but not as many as in Perl <img
+ways to do" in Eclipse (but not as many as in Perl <img
src="images/smile.gif" border=0/>) so the steps described below may
not represent the only way, and I do not claim that are the most
efficient - but TGT (<em>The Good Thing</em>) is that they work. <p>
@@ -144,9 +144,7 @@
<h3>Create a new project</h3>
<b class="step">File -> New -> Project</b>. Select <b
-class="step">Java -> Java Project</b>. I could not find what is the
-difference between selecting <tt>Java Project</tt> and <tt>Java ->
-Java project</tt>. I always used the latter one. <p>
+class="step">Java -> Java Project</b>. <p>
Type a project name (I use <em>jMoby</em>), check <b
class="step">Create project from existing source</b>, and type the
@@ -188,17 +186,11 @@
We are doing this step now, before telling Eclipse where the libraries
are (because we first need to have them in order to show them to
-Eclipse, don't we?). But Eclipse already found some 3rd-party
-libraries in jMoby and listed them in our project. These are, however,
-from the included Ant, and we do not need them on the CLASSPATH when
-we execute our programs. So remove them (before they mixed together
-with the real 3rd-party libraries that we are going to add in a
-minute): Right-click on the project name: <b class="step">(jMoby)
--> Properties -> Java Build Path</b>. Select tab <b
-class="step">Libraries</b>, and remove from there everything except
-<tt>JRE System Library</tt>. <p>
+Eclipse, don't we?). Eclipse already found some 3rd-party libraries in
+jMoby and listed them in our project. These are from the included Ant
+(they were not needed for jMoby programs until recently). <p>
-Then, it's time for our real libraries. Open an Ant view by <b
+Now it's time for our real libraries. Open an Ant view by <b
class="step">Window -> Show View -> Ant</b>. Then right-click
and select <b class="step">Add Buildfiles</b>. Select <b
class="step">build.xml</b> from jMoby. You can <b class="step">Hide
@@ -377,7 +369,7 @@
<div align=right class="address">
<address><A HREF="mailto:martin.senger at gmail.com">Martin Senger</A><BR></address>
<!-- hhmts start -->
-Last modified: Wed Sep 21 15:07:18 2005
+Last modified: Sun Nov 20 19:53:57 2005
<!-- hhmts end -->
</div>
</body> </html>
===================================================================
RCS file: /home/repository/moby/moby-live/Java/docs/WindowsAndJMoby.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/docs/WindowsAndJMoby.html 2005/09/21 07:56:55 1.1
+++ /home/repository/moby/moby-live/Java/docs/WindowsAndJMoby.html 2005/11/20 12:30:50 1.2
@@ -139,6 +139,26 @@
<h3>Too many command-line parameters</h3>
+<em>Update (November 2005):</em>
+<blockquote class="update">
+
+I found that Windows actually understand a similar construct as UNIX
+does: <tt>%*</tt> which is substituted with all arguments from the
+command line:
+
+<pre class="script">
+ at echo off
+java Program %*
+</pre>
+
+Therefore, this section would not be needed. But, as stated below, to
+have a way how to use often used subset of command-line arguments from
+a file is useful on its own, so I keep this section here. <p>
+
+</blockquote>
+<em>End of Update</em><p>
+
+
I still know only how to pass maximum nine parameters to a Windows
batch script (does anybody knows how to pass more?):
@@ -240,7 +260,7 @@
<div align=right class="address">
<address><A HREF="mailto:martin.senger at gmail.com">Martin Senger</A><BR></address>
<!-- hhmts start -->
-Last modified: Wed Sep 21 16:47:24 2005
+Last modified: Sun Nov 20 20:05:06 2005
<!-- hhmts end -->
</div>
</body> </html>
More information about the MOBY-guts
mailing list