[prev in list] [next in list] [prev in thread] [next in thread]
List: grid-engine-cvs
Subject: CVS update: MODIFIED: drmaa, ConflictingAttributeValuesException.java
From: templedf () sunsource ! net
Date: 2004-06-17 15:06:08
Message-ID: 20040617150608.21621.qmail () s005 ! sfo ! collab ! net
[Download RAW message or body]
, DRMAAException.java, DRMAASessionFactory.java
, DRMCommunicationException.java
, DRMSExitException.java
, DefaultContactStringException.java
, DeniedByDRMException.java, InconsistentStateException.java
, InternalException.java
, InvalidArgumentException.java
, InvalidAttributeException.java
, InvalidAttributeFormatException.java
, InvalidAttributeValueException.java
, InvalidContactStringException.java
, InvalidJobException.java, JobTemplate.java, NoResourceUsageDataException.java
, SessionAlreadyActiveException.java
, SessionException.java, UnsupportedAttributeException.java
...
User: templedf
Date: 04/06/17 08:06:08
Modified: source/classes/org/ggf/drmaa AuthorizationException.java
ConflictingAttributeValuesException.java
DRMAAException.java DRMAASession.java
DRMAASessionFactory.java
DRMCommunicationException.java
DRMSExitException.java
DefaultContactStringException.java
DeniedByDRMException.java ExitTimeoutException.java
InconsistentStateException.java
InternalException.java
InvalidArgumentException.java
InvalidAttributeException.java
InvalidAttributeFormatException.java
InvalidAttributeValueException.java
InvalidContactStringException.java
InvalidJobException.java JobInfo.java
JobTemplate.java NoActiveSessionException.java
NoResourceUsageDataException.java
SessionAlreadyActiveException.java
SessionException.java TryLaterException.java
UnsupportedAttributeException.java
Added: doc README-DRMAA-Java.txt
Removed: doc README-DRMAA-JAVA.txt
Log:
DT-2004-06-17-0:
o Fixed bad link in DRMAA howto (again)
o Added copyright placeholders to Java source files
o Renamed DRMAA Java binding README
o Fixed various JGrid bugs
o Fixed factory bug in DRMAA Java binding
o Fixed multi-threaded errno issue on HP-UX 11
o Added JGrid to experimental html file
Revision Changes Path
1.3 +2 -2 \
gridengine/source/experimental/jgrid/com/sun/grid/jgrid/skel/Makefile
http://gridengine.sunsource.net/source/browse/gridengine/source/experimental/jgrid/com/sun/grid/jgrid/skel/Makefile.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Makefile
===================================================================
RCS file: /cvs/gridengine/source/experimental/jgrid/com/sun/grid/jgrid/skel/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Makefile 2004/05/06 17:48:31 1.2
+++ Makefile 2004/06/17 15:05:53 1.3
@@ -18,9 +18,9 @@
#BASICOPTS=-xO3
BASICOPTS=-g
#Uncomment the following line for Solaris
-#CFLAGS=$(BASICOPTS) -xCC -lsocket -lnsl -lpthread -mt
+CFLAGS=$(BASICOPTS) -xCC -lsocket -lnsl -lpthread -mt -DSOLARIS
#Uncomment the following line for Linux
-CFLAGS=$(BASICOPTS) -pthread
+#CFLAGS=$(BASICOPTS) -pthread
#NETFLAGS=-DIPv6
# Define the target directories.
1.38 +3 -3 gridengine/source/libs/japi/Makefile
http://gridengine.sunsource.net/source/browse/gridengine/source/libs/japi/Makefile.diff?r1=1.37&r2=1.38
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Makefile
===================================================================
RCS file: /cvs/gridengine/source/libs/japi/Makefile,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- Makefile 2004/06/02 12:31:10 1.37
+++ Makefile 2004/06/17 15:05:54 1.38
@@ -41,7 +41,7 @@
DRMAALIB = libdrmaa$(SHAREDEXT)
DRMAALIB_SRC = drmaa.c
-DRMAALIB_OBJS = $(DRMAALIB_SRC:.c=.o) $(JAPILIB_OBJS) $(JAPI_DEPEND_OBJS) \
$(EVCLIB_OBJS) \ +DRMAALIB_OBJS = $(DRMAALIB_SRC:.c=.o) $(JAPILIB_OBJS) \
$(JAPI_ADD_OBJS) $(EVCLIB_OBJS) \
$(GDILIB_OBJS) $(SGEOBJLIB_OBJS) $(SGEOBJDLIB_OBJS) $(SECLIB_OBJS) \
\ $(CULLLIB_OBJS) $(RMONLIB_OBJS) $(COMMLIB_OBJS) \
$(COMMLISTSLIB_OBJS) $(UTILIB_DRMAA_OBJS) $(LCKLIB_OBJS)
@@ -49,13 +49,13 @@
JAPI_ADD_SRC = parse_job_cull.c parse_qsub.c read_defaults.c sge_options.c
JAPI_ADD_OBJS = $(JAPI_ADD_SRC:.c=.o)
-JAPI_ADD_LIBS = -lsched -levc -lgdi -lsgeobj -lsgeobjd \
+JAPI_ADD_LIBS = -levc -lgdi -lsgeobj -lsgeobjd \
$(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists \
-luti -lrmon -llck $(DLLIB)
JAPI_DEPEND_OBJS = $(JAPI_ADD_OBJS)
-JAPI_DEPEND_LIBS = $(SCHEDLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) \
+JAPI_DEPEND_LIBS = $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) \
$(CULLLIB) $(COMMLIB) $(COMMLISTSLIB) \
$(UTILIB) $(RMONLIB) $(LCKLIB)
1.42 +10 -3 gridengine/source/libs/japi/drmaa.c
http://gridengine.sunsource.net/source/browse/gridengine/source/libs/japi/drmaa.c.diff?r1=1.41&r2=1.42
(In the diff below, changes in quantity of whitespace are not shown.)
Index: drmaa.c
===================================================================
RCS file: /cvs/gridengine/source/libs/japi/drmaa.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- drmaa.c 2004/06/01 12:06:24 1.41
+++ drmaa.c 2004/06/17 15:05:54 1.42
@@ -616,6 +616,8 @@
int ret = DRMAA_ERRNO_SUCCESS;
dstring diag, *diagp = NULL;
+ DENTER(TOP_LAYER, "drmaa_get_attribute");
+
if (error_diagnosis != NULL) {
sge_dstring_init(&diag, error_diagnosis, error_diag_len+1);
diagp = &diag;
@@ -623,12 +625,14 @@
if (jt == NULL) {
japi_standard_error(DRMAA_ERRNO_INVALID_ARGUMENT, diagp);
+ DEXIT;
return DRMAA_ERRNO_INVALID_ARGUMENT;
}
ret = japi_was_init_called(diagp);
if (ret != DRMAA_ERRNO_SUCCESS) {
/* diagp written by japi_was_init_called() */
+ DEXIT;
return ret;
}
@@ -642,6 +646,7 @@
if (diagp)
sge_dstring_sprintf(diagp, "attribute "SFQ" must be either "SFQ" or \
"SFQ"\n", DRMAA_JOIN_FILES, "y", "n");
+ DEXIT;
return DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE;
}
}
@@ -653,6 +658,7 @@
if (diagp)
sge_dstring_sprintf(diagp, "attribute "SFQ" must be either "SFQ" or \
"SFQ"\n",
DRMAA_JS_STATE, DRMAA_SUBMISSION_STATE_ACTIVE, \
DRMAA_SUBMISSION_STATE_HOLD); + DEXIT;
return DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE;
}
}
@@ -666,6 +672,7 @@
}
}
+ DEXIT;
return ret;
}
@@ -806,7 +813,7 @@
return DRMAA_ERRNO_INVALID_ARGUMENT;
}
- if ((ep = lGetElemStr(jt->string_vectors, NSV_name, name))) {
+ if ((ep = lGetElemStr(jt->string_vectors, NSV_name, name)) != NULL) {
lSetList(ep, NSV_strings, NULL);
}
else {
@@ -814,7 +821,7 @@
}
lp = lCreateList(NULL, ST_Type);
- for (i=0; value[i]; i++) {
+ for (i=0; value[i] != NULL; i++) {
sep = lCreateElem(ST_Type);
lSetString(sep, ST_name, value[i]);
lAppendElem(lp, sep);
1.1 gridengine/doc/README-DRMAA-Java.txt
http://gridengine.sunsource.net/source/browse/gridengine/doc/README-DRMAA-Java.txt?rev=1.1&content-type=text/x-cvsweb-markup
Index: README-DRMAA-Java.txt
===================================================================
What is DRMAA?
--------------
Content
-------
1. Introduction
2. Getting Started
3. Getting Support
4. Copyright
1. Introduction
---------------
DRMAA is a specification developed by a working group in the Global Grid
Forum (GGF). The best way to describe DRMAA is to cite the DRMAA-WG
Charter:
"Develop an API specification for the submission and control of jobs
to one or more Distributed Resource Management (DRM) systems. The
scope of this specification is all the high level functionality which
is necessary for an application to consign a job to a DRM system
including common operations on jobs like termination or suspension.
The objective is to facilitate the direct interfacing of applications
to today's DRM systems by application's builders, portal builders, and
Independent Software Vendors (ISVs)."
Simply put, DRMAA is an API for submitting and controling jobs. DRMAA
has been implemented in several lanuages and for several DRMs. The Grid
Engine 6.0 release includes a C implementation, or C binding as well as a
Java[TM] language binding.
For more information about DRMAA and the various bindings that are
available, visit the DRMAA website at:
http://www.drmaa.org/
There you will find links to the DRMAA specification and mailing list
archives detailing the thought process that went into DRMAA.
Information about grid computing standards in general can be found at the
GGF website:
http://www.gridforum.org/
The Perl language binding module for the Grid Engine 6.0 release can be
found at:
http://search.cpan.org/src/THARSCH/Schedule-DRMAAc-0.81/
For information on the C language binding included with the Condor 6.7
release, see:
http://www.cs.wisc.edu/condor/manual/v6.7/4_4Application_Program.html#SECTION00542000000000000000
2. Getting Started
-------------------
The Grid Engine 6.0 release includes a DRMAA Java language binding. To
develop applications that utilize the Java binding, you will need two files.
The first is the jar file, drmaa.jar. You will find this file under the
$SGE_ROOT/lib directory in the distribution. This file is need for both
compiling and running applications utilizing the Java language binding. The
second file is the Java language binding shared library. You will also find
this file in the $SGE_ROOT/lib directory. This file will need to be
accessible from the LD_LIBRARY_PATH in order for your application to link
properly and run.
The first step is to look at the example program included in the
$SGE_ROOT/examples/drmaa directory of the distribution. The example
program demonstrates a simple usage of the DRMAA library to submit
several bulk jobs and several single jobs, wait for the jobs to finish,
and then output the results.
Also in the $SGE_ROOT/examples/drmaa directory you will find the example
programs from the online tutorial at:
http://gridengine.sunsource.net/project/gridengine/howto/drmaa.html
Once you're familiar with the DRMAA API, you're ready to begin
development of your Java application. When compiling your file, you will
need to have $SGE_ROOT/lib/$ARCH/drmaa.jar included in your CLASSPATH.
3. Getting Support
------------------
If you're having trouble with the DRMAA library included with the Grid
Engine 6 release, please visit:
http://gridengine.sunsource.net/servlets/ProjectIssues
to see if the problem your having is a know problem. Alternately or for
additional help you can send email to the dev@gridengine.sunsource.net
mailing list. You can also browse archives of this mailing list at:
http://gridengine.sunsource.net/project/gridengine/maillist.html
4. Copyright
------------
___INFO__MARK_BEGIN__
The Contents of this file are made available subject to the terms of the Sun
Industry Standards Source License Version 1.2
Sun Microsystems Inc., March, 2001
Sun Industry Standards Source License Version 1.2
=================================================
The contents of this file are subject to the Sun Industry Standards Source
License Version 1.2 (the "License"); You may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://gridengine.sunsource.net/Gridengine_SISSL_license.html
Software provided under this License is provided on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
See the License for the specific provisions governing your rights and
obligations concerning the Software.
The Initial Developer of the Original Code is: Sun Microsystems, Inc.
Copyright: 2001 by Sun Microsystems, Inc.
All Rights Reserved.
___INFO__MARK_END__
1.3 +3 -5 \
gridengine/source/experimental/jgrid/com/sun/grid/jgrid/proxy/ComputeServer.java
http://gridengine.sunsource.net/source/browse/gridengine/source/experimental/jgrid/com/sun/grid/jgrid/proxy/ComputeServer.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ComputeServer.java
===================================================================
RCS file: /cvs/gridengine/source/experimental/jgrid/com/sun/grid/jgrid/proxy/ComputeServer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ComputeServer.java 2004/06/16 08:38:32 1.2
+++ ComputeServer.java 2004/06/17 15:05:55 1.3
@@ -65,7 +65,7 @@
private static final String USAGE =
"Usage: java -Djava.rmi.server.codebase=codebase " +
"com.sun.grid.jgrid.proxy.ComputeServer [-d job_path] " +
- "[-sub submit_command] [-skel skeleton_command] [-sp server_port]" +
+ "[-skel skeleton_command] [-sp server_port]" +
"[-rp return_channel_port] [-debug] [-help]";
/** The logging mechanism
*/
@@ -106,8 +106,8 @@
public ComputeServer () throws RemoteException {
try {
DRMAASessionFactory factory = DRMAASessionFactory.getFactory ();
-
drmaa = factory.getSession ();
+ drmaa.init (null);
template = drmaa.createJobTemplate ();
}
catch (DRMAAException e) {
@@ -357,8 +357,6 @@
System.out.println (USAGE);
System.out.println ("\t-d = set the path where job files are written");
System.out.println ("\t\tdefaults to \"./ser/\"");
- System.out.println ("\t-sub = set the command used to submit jobs to the \
grid");
- System.out.println ("\t\tdefaults to \"qsub\"");
System.out.println ("\t-skel = set the command to be run on the execution \
host"); System.out.println ("\t\tdefaults to \"skel\"");
System.out.println ("\t-rp = set the port number for the return data channel \
RMI registry"); @@ -368,7 +366,7 @@
System.out.println ("\t-help = print this message");
System.out.println ("");
- break;
+ System.exit (0);
}
else {
error = USAGE;
1.4 +5 -0 gridengine/source/experimental/experimental.html
http://gridengine.sunsource.net/source/browse/gridengine/source/experimental/experimental.html.diff?r1=1.3&r2=1.4
(In the diff below, changes in quantity of whitespace are not shown.)
Index: experimental.html
===================================================================
RCS file: /cvs/gridengine/source/experimental/experimental.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- experimental.html 2003/01/22 18:16:42 1.3
+++ experimental.html 2004/06/17 15:05:56 1.4
@@ -44,6 +44,11 @@
a guideline for any form of automatic translation of CULL declarations
into other forms of data definitions.
<h2>
+<a NAME="jgrid"></a>JGrid</h2>
+JGrid is a Java(TM) technology overlay for Grid Engine that allows a program to
+submit jobs as live objects over RMI. It currently relies on the DRMAA Java
+language binding. Documentation is in source files as JavaDoc(TM) comments.
+<h2>
<a NAME="JAM"></a>JAM</h2>
JAM (for Job & Application Manager) is a proof-of-concept, Jini(TM) technology
1.9 +1 -1 gridengine/www/howto/drmaa.html
http://gridengine.sunsource.net/source/browse/gridengine/www/howto/drmaa.html.diff?r1=1.8&r2=1.9
(In the diff below, changes in quantity of whitespace are not shown.)
Index: drmaa.html
===================================================================
RCS file: /cvs/gridengine/www/howto/drmaa.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- drmaa.html 2004/06/16 08:25:16 1.8
+++ drmaa.html 2004/06/17 15:05:56 1.9
@@ -25,7 +25,7 @@
</A>
</LI>
<LI>
- <A HREF="http://gridengine.sunsource.net/unbranded-source/browse/~checkout~/gridengine/docs/README-DRMAA.txt">
+ <A HREF="http://gridengine.sunsource.net/source/browse/gridengine/doc/README-DRMAA.txt">
The Grid Engine 6.0 DRMAA README
</A>
</LI>
1.2100 +13 -2 gridengine/Changelog
http://gridengine.sunsource.net/source/browse/gridengine/Changelog.diff?r1=1.2099&r2=1.2100
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Changelog
===================================================================
RCS file: /cvs/gridengine/Changelog,v
retrieving revision 1.2099
retrieving revision 1.2100
diff -u -b -r1.2099 -r1.2100
--- Changelog 2004/06/17 13:25:20 1.2099
+++ Changelog 2004/06/17 15:05:57 1.2100
@@ -1,4 +1,15 @@
-MD-2004-06-17-0: Bugfix: remove stat_log_time from configuration \
Changed: inst_qmaster.sh +DT-2004-06-17-0: Bugfix: o Fixed bad link in DRMAA \
howto (again) + o Added copyright placeholders to Java \
source files + o Renamed DRMAA Java binding README
+ o Fixed various JGrid bugs
+ o Fixed factory bug in DRMAA Java binding
+ o Fixed multi-threaded errno issue on HP-UX 11
+ o Added JGrid to experimental html file
+ - HP11 and HP1164 will need a aimk -clean
+ Changed: doc, www, classes, DRMAA, JGrid, aimk
+
+MD-2004-06-17-0: Bugfix: remove stat_log_time from configuration
+ Changed: inst_qmaster.sh
Review: AS
Issue: 1082
Bugtraq: 506330
@@ -12,7 +23,7 @@
SG-2004-06-16-0: Bugfix: This bugfix is related to SG-2004-06-09-2. The
prefious one did not fix all aspects of the growing
scheduler and master. The implementation of the
- job categories was bugy.
+ job categories was buggy.
Changed: scheduler
Review: JG
Issue: 1087
1.8 +33 -9 gridengine/source/classes/TestDRMAA.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/TestDRMAA.java.diff?r1=1.7&r2=1.8
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TestDRMAA.java
===================================================================
RCS file: /cvs/gridengine/source/classes/TestDRMAA.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- TestDRMAA.java 2004/06/04 11:51:19 1.7
+++ TestDRMAA.java 2004/06/17 15:05:58 1.8
@@ -1,9 +1,34 @@
-/*
- * TestDRMAA.java
+/*___INFO__MARK_BEGIN__*/
+/*************************************************************************
*
- * Created on May 4, 2004, 6:16 PM
- */
-
+ * The Contents of this file are made available subject to the terms of
+ * the Sun Industry Standards Source License Version 1.2
+ *
+ * Sun Microsystems Inc., March, 2001
+ *
+ *
+ * Sun Industry Standards Source License Version 1.2
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.2 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2001 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ ************************************************************************/
+/*___INFO__MARK_END__*/
import java.io.*;
import java.util.*;
@@ -48,11 +73,10 @@
jobIds = new LinkedList ();
- Runtime.getRuntime ().addShutdownHook (new ShutdownHook ());
-
DRMAASessionFactory factory = DRMAASessionFactory.getFactory ();
session = factory.getSession ();
+ Runtime.getRuntime ().addShutdownHook (new ShutdownHook ());
session.init (null);
System.out.println ("DRMS: " + session.getDRMSystem ());
@@ -645,7 +669,7 @@
System.out.println ("0: Exiting");
}
catch (DRMAAException e) {
- e.printStackTrace ();
+ //Don't care
}
}
}
1.6 +11 -9 gridengine/source/classes/DRMAAExample.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/DRMAAExample.java.diff?r1=1.5&r2=1.6
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMAAExample.java
===================================================================
RCS file: /cvs/gridengine/source/classes/DRMAAExample.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- DRMAAExample.java 2004/05/24 16:28:10 1.5
+++ DRMAAExample.java 2004/06/17 15:05:58 1.6
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,6 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
+/*___INFO__MARK_END__*/
import java.util.*;
import org.ggf.drmaa.*;
1.10 +1 -1 gridengine/source/libs/sgeobj/sge_path_alias.c
http://gridengine.sunsource.net/source/browse/gridengine/source/libs/sgeobj/sge_path_alias.c.diff?r1=1.9&r2=1.10
(In the diff below, changes in quantity of whitespace are not shown.)
Index: sge_path_alias.c
===================================================================
RCS file: /cvs/gridengine/source/libs/sgeobj/sge_path_alias.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- sge_path_alias.c 2004/06/16 08:38:32 1.9
+++ sge_path_alias.c 2004/06/17 15:05:59 1.10
@@ -154,7 +154,7 @@
return -1;
}
- if (SGE_STAT(file_name, &sb) && errno == ENOENT) {
+ if ((SGE_STAT(file_name, &sb) != 0) && (errno == ENOENT)) {
DEXIT;
return 0;
}
1.162 +1 -22 gridengine/source/aimk
http://gridengine.sunsource.net/source/browse/gridengine/source/aimk.diff?r1=1.161&r2=1.162
(In the diff below, changes in quantity of whitespace are not shown.)
Index: aimk
===================================================================
RCS file: /cvs/gridengine/source/aimk,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -b -r1.161 -r1.162
--- aimk 2004/06/16 08:38:31 1.161
+++ aimk 2004/06/17 15:05:59 1.162
@@ -1170,7 +1170,7 @@
set SHARED_LFLAGS = "$SHARED_LFLAGS -L. -b +s"
endif
- set CFLAGS = "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $CFLAGS"
+ set CFLAGS = "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $CFLAGS \
-D_REENTRANT" set LIBS = "-lnsl $LIBS"
if ($BUILDARCH == HP11) then
@@ -2113,24 +2113,3 @@
3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -f -b -DPROJECT "Grid Engine Job \
API Library" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The Grid \
Engine Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 libs/japi/japi.h \
libs/japi/japi.c -o $COMPILE_ARCH/libjapi.texi
echo "Creating documentation for libs: libdrmaa.texi"
- 3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -f -b -DPROJECT "Grid Engine \
DRMAA Library" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The Grid \
Engine Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 libs/japi/drmaa.h \
libs/japi/drmaa.c -o $COMPILE_ARCH/libdrmaa.texi
-
- echo "Creating documentation for libs: libspool.texi"
- 3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -f -b -DPROJECT "Grid Engine \
Spooling Library" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The \
Grid Engine Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 libs/spool/*.h \
libs/spool/*.c libs/spool/*/*.h libs/spool/*/*.c -o \
$COMPILE_ARCH/libspool.texi
-
- echo "Creating documentation for libs: libuti.texi"
- 3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -f -b -DPROJECT "Grid Engine UTI \
Library" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The Grid Engine \
Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 libs/uti/*.h libs/uti/*.c \
-o $COMPILE_ARCH/libuti.texi
-
- echo "Creating documentation for core system: core.texi"
- 3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -b -DPROJECT "Grid Engine Core \
System" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The Grid Engine \
Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 $SOURCE_CORE -o \
$COMPILE_ARCH/core.texi
-
- echo "Creating documentation for testsuite: testsuite.texi"
- 3rdparty/adoc/$COMPILE_ARCH/adoc --no-warnings -b -DPROJECT "Grid Engine \
Testsuite" -DEDITION "$EDITION" -DREVISION "SGE $REVISION" -DCOPYRIGHT "The Grid \
Engine Team" -DAUTHOR "The Grid Engine Team" -I -xon -xitemize -2 $SOURCE_TESTSUITE \
-o $COMPILE_ARCH/testsuite.texi
-
- echo "To create a html or pdf documentation, execute for example"
- echo "texi2html $COMPILE_ARCH/libsgeobj.texi or"
- echo "texi2pdf $COMPILE_ARCH/libsgeobj.texi"
-endif
-
-echo done.
-exit 0
1.3 +2 -6 gridengine/source/classes/com/sun/grid/drmaa/SGEJobInfo.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/com/sun/grid/drmaa/SGEJobInfo.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SGEJobInfo.java
===================================================================
RCS file: /cvs/gridengine/source/classes/com/sun/grid/drmaa/SGEJobInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SGEJobInfo.java 2004/04/27 22:20:34 1.2
+++ SGEJobInfo.java 2004/06/17 15:06:00 1.3
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * SGEJobInfo.java
- *
- * Created on March 4, 2004, 10:17 AM
- */
-
+/*___INFO__MARK_END__*/
package com.sun.grid.drmaa;
import java.util.HashMap;
1.5 +2 -6 \
gridengine/source/classes/com/sun/grid/drmaa/SGEJobTemplate.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/com/sun/grid/drmaa/SGEJobTemplate.java.diff?r1=1.4&r2=1.5
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SGEJobTemplate.java
===================================================================
RCS file: /cvs/gridengine/source/classes/com/sun/grid/drmaa/SGEJobTemplate.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- SGEJobTemplate.java 2004/05/07 12:10:56 1.4
+++ SGEJobTemplate.java 2004/06/17 15:06:00 1.5
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * SGEJobTemplate.java
- *
- * Created on March 4, 2004, 10:09 AM
- */
-
+/*___INFO__MARK_END__*/
package com.sun.grid.drmaa;
import java.util.*;
1.6 +11 -15 gridengine/source/classes/com/sun/grid/drmaa/SGESession.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/com/sun/grid/drmaa/SGESession.java.diff?r1=1.5&r2=1.6
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SGESession.java
===================================================================
RCS file: /cvs/gridengine/source/classes/com/sun/grid/drmaa/SGESession.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- SGESession.java 2004/06/02 15:27:51 1.5
+++ SGESession.java 2004/06/17 15:06:00 1.6
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * SGESession.java
- *
- * Created on March 3, 2004, 3:04 PM
- */
-
+/*___INFO__MARK_END__*/
package com.sun.grid.drmaa;
import java.util.*;
1.2 +2 -6 \
gridengine/source/classes/com/sun/grid/drmaa/SGESessionFactory.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/com/sun/grid/drmaa/SGESessionFactory.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SGESessionFactory.java
===================================================================
RCS file: /cvs/gridengine/source/classes/com/sun/grid/drmaa/SGESessionFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- SGESessionFactory.java 2004/03/15 14:44:37 1.1
+++ SGESessionFactory.java 2004/06/17 15:06:00 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * SGESessionFactory.java
- *
- * Created on March 3, 2004, 12:04 PM
- */
-
+/*___INFO__MARK_END__*/
package com.sun.grid.drmaa;
import org.ggf.drmaa.*;
1.5 +2 -1 gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.c
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.c.diff?r1=1.4&r2=1.5
(In the diff below, changes in quantity of whitespace are not shown.)
Index: com_sun_grid_drmaa_SGESession.c
===================================================================
RCS file: /cvs/gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- com_sun_grid_drmaa_SGESession.c 2004/06/04 11:51:20 1.4
+++ com_sun_grid_drmaa_SGESession.c 2004/06/17 15:06:01 1.5
@@ -35,6 +35,7 @@
#include <pthread.h>
#include <strings.h>
#include <string.h>
+#include <errno.h>
#include "japi/drmaa.h"
#include "japi/msg_drmaa.h"
1.2 +31 -0 gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.h
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.h.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: com_sun_grid_drmaa_SGESession.h
===================================================================
RCS file: /cvs/gridengine/source/classes/src/com_sun_grid_drmaa_SGESession.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- com_sun_grid_drmaa_SGESession.h 2004/06/02 12:31:14 1.1
+++ com_sun_grid_drmaa_SGESession.h 2004/06/17 15:06:01 1.2
@@ -1,3 +1,34 @@
+/*___INFO__MARK_BEGIN__*/
+/*************************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * the Sun Industry Standards Source License Version 1.2
+ *
+ * Sun Microsystems Inc., March, 2001
+ *
+ *
+ * Sun Industry Standards Source License Version 1.2
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.2 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2001 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ ************************************************************************/
+/*___INFO__MARK_END__*/
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_sun_grid_drmaa_SGESession */
1.2 +2 -5 \
gridengine/source/classes/org/ggf/drmaa/AuthorizationException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/AuthorizationException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AuthorizationException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/AuthorizationException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- AuthorizationException.java 2004/03/15 14:44:39 1.1
+++ AuthorizationException.java 2004/06/17 15:06:02 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,11 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * AuthorizationException.java
- *
- * Created on June 17, 2003, 1:00 PM
- */
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
1.2 +2 -5 \
gridengine/source/classes/org/ggf/drmaa/ConflictingAttributeValuesException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/ConflictingAttributeValuesException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConflictingAttributeValuesException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/ConflictingAttributeValuesException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ConflictingAttributeValuesException.java 2004/03/15 14:44:39 1.1
+++ ConflictingAttributeValuesException.java 2004/06/17 15:06:02 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,11 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * ConflictingAttributeValuesException.java
- *
- * Created on June 17, 2003, 11:03 AM
- */
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
1.2 +2 -5 gridengine/source/classes/org/ggf/drmaa/DRMAAException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DRMAAException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMAAException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DRMAAException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DRMAAException.java 2004/03/15 14:44:39 1.1
+++ DRMAAException.java 2004/06/17 15:06:02 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,11 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DRMAAException.java
- *
- * Created on June 17, 2003, 10:29 AM
- */
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
1.8 +2 -5 gridengine/source/classes/org/ggf/drmaa/DRMAASession.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DRMAASession.java.diff?r1=1.7&r2=1.8
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMAASession.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DRMAASession.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- DRMAASession.java 2004/06/16 08:25:16 1.7
+++ DRMAASession.java 2004/06/17 15:06:02 1.8
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,11 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DRMAASession.java
- *
- * Created on June 17, 2003, 10:33 AM
- */
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
1.3 +9 -10 \
gridengine/source/classes/org/ggf/drmaa/DRMAASessionFactory.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DRMAASessionFactory.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMAASessionFactory.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DRMAASessionFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DRMAASessionFactory.java 2004/05/07 12:10:57 1.2
+++ DRMAASessionFactory.java 2004/06/17 15:06:02 1.3
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DRMAASessionFactory.java
- *
- * Created on June 18, 2003, 10:07 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
import java.io.*;
@@ -132,9 +128,12 @@
String className = props.getProperty (SESSION_PROPERTY);
return (DRMAASessionFactory)newInstance (className, classLoader);
}
+ }
+ catch (SecurityException se ) {
+ //If we get a security exception, treat it as failure and try the next method
}
- catch(Exception ex ) {
- ex.printStackTrace ();
+ catch (IOException ie) {
+ //If we get an I/O exception, treat it as failure and try the next method
}
String serviceId = "META-INF/services/" + SESSION_PROPERTY;
@@ -160,7 +159,7 @@
}
}
catch (Exception ex) {
- ex.printStackTrace ();
+ //Ignore exceptions here and let the config error be thrown
}
throw new ConfigurationError ("Provider for " + SESSION_PROPERTY + " cannot be \
found", null);
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/DRMCommunicationException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DRMCommunicationException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMCommunicationException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DRMCommunicationException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DRMCommunicationException.java 2004/03/15 14:44:40 1.1
+++ DRMCommunicationException.java 2004/06/17 15:06:03 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * CommunicationException.java
- *
- * Created on June 17, 2003, 10:41 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Could not contact DRM system for this request.
1.2 +2 -6 gridengine/source/classes/org/ggf/drmaa/DRMSExitException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DRMSExitException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DRMSExitException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DRMSExitException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DRMSExitException.java 2004/03/15 14:44:40 1.1
+++ DRMSExitException.java 2004/06/17 15:06:03 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DRMSExitException.java
- *
- * Created on June 17, 2003, 11:00 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** DRM system disengagement failed.
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/DefaultContactStringException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DefaultContactStringException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DefaultContactStringException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DefaultContactStringException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DefaultContactStringException.java 2004/03/15 14:44:40 1.1
+++ DefaultContactStringException.java 2004/06/17 15:06:03 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DefaultContactStringException.java
- *
- * Created on June 17, 2003, 10:37 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** DRMAA could not use the default contact string to connect to DRM
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/DeniedByDRMException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/DeniedByDRMException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DeniedByDRMException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/DeniedByDRMException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DeniedByDRMException.java 2004/03/15 14:44:41 1.1
+++ DeniedByDRMException.java 2004/06/17 15:06:03 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * DeniedByDRMException.java
- *
- * Created on June 17, 2003, 12:55 PM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The DRM system rejected the job. The job will never be accepted
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/ExitTimeoutException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/ExitTimeoutException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ExitTimeoutException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/ExitTimeoutException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ExitTimeoutException.java 2004/03/15 14:44:41 1.1
+++ ExitTimeoutException.java 2004/06/17 15:06:03 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * ExitTimeoutException.java
- *
- * Created on June 18, 2003, 11:34 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** We have encountered a time-out condition for DRMAASession.synchronize()
1.3 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InconsistentStateException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InconsistentStateException.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InconsistentStateException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InconsistentStateException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- InconsistentStateException.java 2004/06/01 22:37:28 1.2
+++ InconsistentStateException.java 2004/06/17 15:06:03 1.3
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidStateException.java
- *
- * Created on June 18, 2003, 10:44 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The job cannot be moved to the requested state.
1.2 +2 -6 gridengine/source/classes/org/ggf/drmaa/InternalException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InternalException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InternalException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InternalException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InternalException.java 2004/03/15 14:44:41 1.1
+++ InternalException.java 2004/06/17 15:06:04 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InternalException.java
- *
- * Created on June 17, 2003, 10:42 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Unexpected or internal DRMAA error like memory allocation,
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidArgumentException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidArgumentException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidArgumentException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidArgumentException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InvalidArgumentException.java 2004/03/15 14:44:42 1.1
+++ InvalidArgumentException.java 2004/06/17 15:06:04 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidArgumentException.java
- *
- * Created on June 17, 2003, 11:02 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The input value for an argument is invalid.
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidAttributeException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidAttributeException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InvalidAttributeException.java 2004/03/15 14:44:42 1.1
+++ InvalidAttributeException.java 2004/06/17 15:06:04 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * AttributeException.java
- *
- * Created on June 17, 2003, 10:47 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The value or format of an attribute is invalid.
1.3 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidAttributeFormatException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeFormatException.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidAttributeFormatException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeFormatException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- InvalidAttributeFormatException.java 2004/06/16 08:25:16 1.2
+++ InvalidAttributeFormatException.java 2004/06/17 15:06:04 1.3
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidAttributeFormatException.java
- *
- * Created on June 17, 2003, 11:02 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The format for the job attribute value is invalid.
1.3 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidAttributeValueException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeValueException.java.diff?r1=1.2&r2=1.3
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidAttributeValueException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidAttributeValueException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- InvalidAttributeValueException.java 2004/06/16 08:25:16 1.2
+++ InvalidAttributeValueException.java 2004/06/17 15:06:04 1.3
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidAttributeValueException.java
- *
- * Created on June 17, 2003, 11:03 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The value for the job attribute is invalid.
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidContactStringException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidContactStringException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidContactStringException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidContactStringException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InvalidContactStringException.java 2004/03/15 14:44:43 1.1
+++ InvalidContactStringException.java 2004/06/17 15:06:04 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidContextStringException.java
- *
- * Created on June 17, 2003, 10:35 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Initialization failed due to invalid contact string.
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/InvalidJobException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/InvalidJobException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidJobException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/InvalidJobException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InvalidJobException.java 2004/03/15 14:44:43 1.1
+++ InvalidJobException.java 2004/06/17 15:06:04 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InvalidJobException.java
- *
- * Created on June 18, 2003, 10:47 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** The job specified by the 'jobId' does not exist.
1.2 +2 -6 gridengine/source/classes/org/ggf/drmaa/JobInfo.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/JobInfo.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JobInfo.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/JobInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- JobInfo.java 2004/03/15 14:44:43 1.1
+++ JobInfo.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * JobInfo.java
- *
- * Created on June 18, 2003, 11:42 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
import java.util.*;
1.4 +2 -6 gridengine/source/classes/org/ggf/drmaa/JobTemplate.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/JobTemplate.java.diff?r1=1.3&r2=1.4
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JobTemplate.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/JobTemplate.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- JobTemplate.java 2004/06/03 11:22:25 1.3
+++ JobTemplate.java 2004/06/17 15:06:05 1.4
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * JobTemplate.java
- *
- * Created on June 17, 2003, 10:40 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
import java.util.*;
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/NoActiveSessionException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/NoActiveSessionException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NoActiveSessionException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/NoActiveSessionException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NoActiveSessionException.java 2004/03/15 14:44:44 1.1
+++ NoActiveSessionException.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * NoActiveSessionException.java
- *
- * Created on June 17, 2003, 11:00 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Exit routine failed because there is no active session.
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/NoResourceUsageDataException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/NoResourceUsageDataException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NoResourceUsageDataException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/NoResourceUsageDataException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NoResourceUsageDataException.java 2004/03/15 14:44:44 1.1
+++ NoResourceUsageDataException.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * NoResourceUsageInformationException.java
- *
- * Created on June 18, 2003, 11:59 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** This error code is returned by DRMAASession.wait() when a job has finished
1.2 +2 -6 \
gridengine/source/classes/org/ggf/drmaa/SessionAlreadyActiveException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/SessionAlreadyActiveException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SessionAlreadyActiveException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/SessionAlreadyActiveException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- SessionAlreadyActiveException.java 2004/03/15 14:44:44 1.1
+++ SessionAlreadyActiveException.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * SessionAlreadyActiveException.java
- *
- * Created on June 17, 2003, 10:36 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Initialization failed due to existing DRMAA session.
1.2 +2 -6 gridengine/source/classes/org/ggf/drmaa/SessionException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/SessionException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SessionException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/SessionException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- SessionException.java 2004/03/15 14:44:44 1.1
+++ SessionException.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * InitException.java
- *
- * Created on June 17, 2003, 10:46 AM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** A problem occured with the DRM session preventing the routine from completing.
1.2 +2 -6 gridengine/source/classes/org/ggf/drmaa/TryLaterException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/TryLaterException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TryLaterException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/TryLaterException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TryLaterException.java 2004/03/15 14:44:45 1.1
+++ TryLaterException.java 2004/06/17 15:06:05 1.2
@@ -1,3 +1,4 @@
+/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
@@ -27,12 +28,7 @@
* All Rights Reserved.
*
************************************************************************/
-/*
- * TryLaterException.java
- *
- * Created on June 17, 2003, 12:54 PM
- */
-
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/** Could not pass job now to DRM system. A retry may succeed,
1.2 +31 -6 \
gridengine/source/classes/org/ggf/drmaa/UnsupportedAttributeException.java
http://gridengine.sunsource.net/source/browse/gridengine/source/classes/org/ggf/drmaa/UnsupportedAttributeException.java.diff?r1=1.1&r2=1.2
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UnsupportedAttributeException.java
===================================================================
RCS file: /cvs/gridengine/source/classes/org/ggf/drmaa/UnsupportedAttributeException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UnsupportedAttributeException.java 2004/05/14 08:55:41 1.1
+++ UnsupportedAttributeException.java 2004/06/17 15:06:06 1.2
@@ -1,9 +1,34 @@
-/*
- * UnsupportedAttributeException.java
+/*___INFO__MARK_BEGIN__*/
+/*************************************************************************
*
- * Created on April 17, 2004, 10:52 AM
- */
-
+ * The Contents of this file are made available subject to the terms of
+ * the Sun Industry Standards Source License Version 1.2
+ *
+ * Sun Microsystems Inc., March, 2001
+ *
+ *
+ * Sun Industry Standards Source License Version 1.2
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.2 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2001 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ ************************************************************************/
+/*___INFO__MARK_END__*/
package org.ggf.drmaa;
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic