idrs-commit Mailing List for Internet Document and Report Server (Page 7)
Brought to you by:
bigman921
You can subscribe to this list here.
| 2002 |
Jan
(113) |
Feb
(34) |
Mar
(38) |
Apr
(63) |
May
|
Jun
|
Jul
|
Aug
(40) |
Sep
(26) |
Oct
(4) |
Nov
(5) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(13) |
Feb
(15) |
Mar
(21) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(71) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
|
From: Marc B. <big...@us...> - 2002-09-16 16:22:31
|
Update of /cvsroot/idrs/Idrs/dev/lib In directory usw-pr-cvs1:/tmp/cvs-serv3376/dev/lib Modified Files: idrs.jar Log Message: Fixed a bug with returning the authentication connection Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/lib/idrs.jar,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 Binary files /tmp/cvsLeruNn and /tmp/cvsUa7NOA differ |
|
From: Marc B. <big...@us...> - 2002-09-16 15:21:07
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report
In directory usw-pr-cvs1:/tmp/cvs-serv13695
Added Files:
NavNextChunk.java NavPrevChunk.java NavigateChunk.java
Log Message:
Added data paging support, fixed hot deployment bug
--- NEW FILE: NavNextChunk.java ---
/*
NavNextChunk.java
Copyright (C) 2001 Marc Boorshtein
The contents of this file are subject to the Mozilla Public License Version 1.0 (the License);
you may not use this file except in compliance with the License. You may obtain a copy of the
License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
*/
package net.sourceforge.idrs.core.report;
import java.io.*;
import java.util.*;
import java.net.*;
import net.sourceforge.idrs.utils.*;
import javax.servlet.http.*;
/**
Encapsulates any plain text found in an RML page
*/
public final class NavNextChunk extends NavigateChunk {
public NavNextChunk(String txt) {
super(txt);
}
protected int adjustPosition(DB db) throws Exception {
System.out.println("Curr Location : " + db.getCurrLocation());
System.out.println("Num Recs : " + db.getNumRecs());
return db.getCurrLocation();
}
}
--- NEW FILE: NavPrevChunk.java ---
/*
NavPrevChunk.java
Copyright (C) 2001 Marc Boorshtein
The contents of this file are subject to the Mozilla Public License Version 1.0 (the License);
you may not use this file except in compliance with the License. You may obtain a copy of the
License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
*/
package net.sourceforge.idrs.core.report;
import java.io.*;
import java.util.*;
import java.net.*;
import net.sourceforge.idrs.utils.*;
import javax.servlet.http.*;
/**
Encapsulates any plain text found in an RML page
*/
public final class NavPrevChunk extends NavigateChunk {
public NavPrevChunk(String txt) {
super(txt);
}
protected int adjustPosition(DB db) throws Exception {
return db.getFirstRec() - db.getNumRecs();
}
}
--- NEW FILE: NavigateChunk.java ---
/*
NavigateChunk.java
Copyright (C) 2001 Marc Boorshtein
The contents of this file are subject to the Mozilla Public License Version 1.0 (the License);
you may not use this file except in compliance with the License. You may obtain a copy of the
License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
*/
package net.sourceforge.idrs.core.report;
import java.io.*;
import java.util.*;
import java.net.*;
import net.sourceforge.idrs.utils.*;
import javax.servlet.http.*;
/**
Encapsulates any plain text found in an RML page
*/
public abstract class NavigateChunk implements Chunk, Serializable {
String text;
StringBuffer buff;
/**
Initializes the Chunk
@param text Text to be stored
*/
public NavigateChunk(String text) {
this.text = text;
buff = new StringBuffer();
}
protected abstract int adjustPosition(DB db) throws Exception ;
/**
Returns the link to the next page
@param head IDRSHead for report
*/
public String toString(IDRSHead head) throws Exception {
buff.setLength(0);
Enumeration paramNames;
String paramName;
String param;
HttpServletRequest request = head.getRequest();;
//loop through all parameters
buff.append("<a href=\"").append(request.getRequestURI()).append('?');
paramNames = request.getParameterNames();
DB db;
boolean returnLink = false;
int adjustedPos;
while (paramNames.hasMoreElements()) {
paramName = (String) paramNames.nextElement();
param = request.getParameter(paramName);
if (paramName.indexOf("_FirstRecord") != -1) {
db = head.getDB(paramName.substring(0,paramName.indexOf("_")));
adjustedPos = adjustPosition(db);
returnLink = returnLink || ((adjustedPos >= 0) && (adjustedPos <= db.getNumberRows()));
buff.append(paramName).append('=').append(adjustedPos).append('&');
}
else if (paramName.indexOf("_Reset") != -1) {
buff.append(paramName).append('=').append(0).append('&');
}
else {
buff.append(paramName).append('=').append(URLEncoder.encode(param)).append('&');
}
}
if (returnLink) {
buff.deleteCharAt(buff.length()-1);
buff.append("\">").append(text).append("</a>");
return buff.toString();
}
else {
return "";
}
}
}
|
|
From: Marc B. <big...@us...> - 2002-09-16 15:19:45
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils
In directory usw-pr-cvs1:/tmp/cvs-serv11935/dev/src/net/sourceforge/idrs/utils
Modified Files:
DB.java
Log Message:
Added data paging support, fixed hot deployment bug
Index: DB.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/DB.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** DB.java 9 Sep 2002 21:27:44 -0000 1.9
--- DB.java 16 Sep 2002 15:19:42 -0000 1.10
***************
*** 96,99 ****
--- 96,103 ----
this.cursur = DB.CLIENT;
}
+
+ public int getNumberRows() {
+ return rows.size();
+ }
***************
*** 128,131 ****
--- 132,136 ----
public void setNumRecs(int recs) throws Exception {
this.numRecs = recs;
+ this.cursur = DB.CLIENT;
}
***************
*** 493,503 ****
*/
private void readTable() throws Exception {
!
if (this.cursur == DB.CLIENT) {
! //System.out.println("Client cursor");
rows = new LinkedList();
while (rs.next()) {
this.fields = new HashMap();
! readFields();
rows.add(this.fields);
}
--- 498,515 ----
*/
private void readTable() throws Exception {
!
Object key;
! System.out.println("in read table");
if (this.cursur == DB.CLIENT) {
! System.out.println("In Client cursor read table");
rows = new LinkedList();
+ Iterator it;
while (rs.next()) {
this.fields = new HashMap();
! readFields();
! it = fields.keySet().iterator();
! while (it.hasNext()) {
! key = it.next();
! System.out.println(key + "=" + fields.get(key));
! }
rows.add(this.fields);
}
***************
*** 615,619 ****
throw new Exception("getFieldData() can only be called when direction is OUTPUT");
! if (rs == null) {
return "";
}
--- 627,631 ----
throw new Exception("getFieldData() can only be called when direction is OUTPUT");
! if (rs == null && this.cursur != DB.CLIENT) {
return "";
}
***************
*** 701,704 ****
--- 713,717 ----
public void startWith(int location) throws Exception {
this.beginWith = location;
+ this.cursurLocation = location;
}
***************
*** 714,719 ****
if (this.cursur == DB.CLIENT) {
System.out.println("Cursor client : ");
! if (rows.size() > cursurLocation) {
! fields = (HashMap) rows.get(this.cursurLocation);
cursurLocation++;
hasNext = true;
--- 727,733 ----
if (this.cursur == DB.CLIENT) {
System.out.println("Cursor client : ");
! System.out.println("Location : " + cursurLocation);
! if ((rows.size() > cursurLocation) && (cursurLocation < beginWith + numRecs)) {
! this.fields = (HashMap) rows.get(this.cursurLocation);
cursurLocation++;
hasNext = true;
***************
*** 792,795 ****
--- 806,811 ----
}
this.wasCached = (caches.get(this.name) != null);
+ System.out.println("Cached : " + this.wasCached);
+ System.out.println("Cache : " + caches.get(this.name));
}
|
|
From: Marc B. <big...@us...> - 2002-09-16 15:19:45
|
Update of /cvsroot/idrs/Idrs/dev/lib In directory usw-pr-cvs1:/tmp/cvs-serv11935/dev/lib Modified Files: idrs.jar Log Message: Added data paging support, fixed hot deployment bug Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/lib/idrs.jar,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 Binary files /tmp/cvsVYdTIM and /tmp/cvso4gXpo differ |
|
From: Marc B. <big...@us...> - 2002-09-16 15:19:45
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units
In directory usw-pr-cvs1:/tmp/cvs-serv11935/dev/src/net/sourceforge/idrs/deploy/compile/units
Modified Files:
Body.java Db.java
Log Message:
Added data paging support, fixed hot deployment bug
Index: Body.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Body.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Body.java 9 Sep 2002 21:27:44 -0000 1.5
--- Body.java 16 Sep 2002 15:19:42 -0000 1.6
***************
*** 154,157 ****
--- 154,165 ----
}
+ public void navNext(String val, Attributes atts) throws Exception {
+ state.getCurrentLine().addChunk(new NavNextChunk(val));
+ }
+
+ public void navPrev(String val, Attributes atts) throws Exception {
+ state.getCurrentLine().addChunk(new NavPrevChunk(val));
+ }
+
/**
* Handles the formInput tag
***************
*** 209,212 ****
--- 217,222 ----
state.getReport().getBody().seal();
}
+
+
Index: Db.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Db.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Db.java 9 Sep 2002 21:27:44 -0000 1.5
--- Db.java 16 Sep 2002 15:19:42 -0000 1.6
***************
*** 100,103 ****
--- 100,106 ----
db.setNumRecs(Integer.parseInt(val));
}
+ else {
+ db.setNumRecs(-1);
+ }
}
|
|
From: Marc B. <big...@us...> - 2002-09-16 15:19:45
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/servlet
In directory usw-pr-cvs1:/tmp/cvs-serv11935/dev/src/net/sourceforge/idrs/core/servlet
Modified Files:
IDRSServlet.java Init.java
Log Message:
Added data paging support, fixed hot deployment bug
Index: IDRSServlet.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/servlet/IDRSServlet.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** IDRSServlet.java 9 Sep 2002 21:27:44 -0000 1.13
--- IDRSServlet.java 16 Sep 2002 15:19:42 -0000 1.14
***************
*** 316,320 ****
ERRORS:Incorrect Parameters
*/
! private void addVars(IDRSSecurity secure, RequestWrapper req, IDRSRep rep)
throws Exception {
String currentDB = "";
--- 316,320 ----
ERRORS:Incorrect Parameters
*/
! private void addVars(IDRSSecurity secure, RequestWrapper req, IDRSRep rep,HttpSession session)
throws Exception {
String currentDB = "";
***************
*** 325,329 ****
//retrieve the report header
IDRSHead head = rep.getHead();
! HashMap dbCache = (HashMap) head.getSession().getAttribute("IDRS_DB_CACHE");
//retrieve the list of parameter names
--- 325,329 ----
//retrieve the report header
IDRSHead head = rep.getHead();
! HashMap dbCache = (HashMap) session.getAttribute("IDRS_DB_CACHE");
//retrieve the list of parameter names
***************
*** 333,337 ****
for (int i = 0; i < Params.length; i++) {
param = (String) Params[i];
!
//determine what area of the header "db" is being added to
db = param.substring(0, param.indexOf("_"));
--- 333,337 ----
for (int i = 0; i < Params.length; i++) {
param = (String) Params[i];
!
//determine what area of the header "db" is being added to
db = param.substring(0, param.indexOf("_"));
***************
*** 345,365 ****
! if (param.indexOf("Reset") != -1) {
! try {
! if (req.getParameter(param).equalsIgnoreCase("true"))
! dbCache.remove(db);
! }
! catch (Exception ignore){}
! }
!
! else if (param.indexOf("PageSize") != -1) {
! head.setPageSize(db,Integer.parseInt((String) req.getParameter(param)));
! }
! else if (param.indexOf("FirstRecord") != -1) {
! head.setPageFirst(db,Integer.parseInt((String) req.getParameter(param)));
! }
! if (param.indexOf("UserID") != -1) {
System.out.println("HERE");
head.add(db, "", "UserID");
--- 345,367 ----
! if (param.indexOf("Reset") != -1) {
! try {
! if (req.getParameter(param).equalsIgnoreCase("true") && dbCache != null)
! dbCache.remove(db);
! }
! catch (Exception ignore){
! ignore.printStackTrace(System.out);
! }
! }
!
! else if (param.indexOf("PageSize") != -1) {
! head.setPageSize(db,Integer.parseInt((String) req.getParameter(param)));
! }
! else if (param.indexOf("FirstRecord") != -1) {
! head.setPageFirst(db,Integer.parseInt((String) req.getParameter(param)));
! }
! else if (param.indexOf("UserID") != -1) {
System.out.println("HERE");
head.add(db, "", "UserID");
***************
*** 498,503 ****
//initialize some information about the report
poolInfo.docName = docName;
//add the parameters
! addVars(secure, rap, rep);
//lets run the page
--- 500,506 ----
//initialize some information about the report
poolInfo.docName = docName;
+ poolInfo.rep = rep;
//add the parameters
! addVars(secure, rap, rep,req.getSession());
//lets run the page
Index: Init.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/servlet/Init.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Init.java 22 Aug 2002 20:06:34 -0000 1.8
--- Init.java 16 Sep 2002 15:19:42 -0000 1.9
***************
*** 93,97 ****
*/
public JDBCInfo getAppDBInfo() {
! return (JDBCInfo) dbs.get(authDB);
}
--- 93,97 ----
*/
public JDBCInfo getAppDBInfo() {
! return ((DbPool) dbs.get(docsDB)).getInfo();
}
|
|
From: Marc B. <big...@us...> - 2002-09-16 15:19:44
|
Update of /cvsroot/idrs/Idrs/dev/bin In directory usw-pr-cvs1:/tmp/cvs-serv11935/dev/bin Modified Files: idrs.jar Log Message: Added data paging support, fixed hot deployment bug Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/bin/idrs.jar,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 Binary files /tmp/cvsX5mPsg and /tmp/cvsC99vso differ |
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:48
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report
In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/core/report
Modified Files:
IDRSHead.java
Added Files:
ErrorChunk.java
Log Message:
added transaction support and new form handling
--- NEW FILE: ErrorChunk.java ---
/*
ErrorChunk.java
Copyright (C) 2001 Marc Boorshtein
The contents of this file are subject to the Mozilla Public License Version 1.0 (the License);
you may not use this file except in compliance with the License. You may obtain a copy of the
License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
*/
package net.sourceforge.idrs.core.report;
import java.io.Serializable;
/**
Encapsulates any error text found in an RML page
*/
public class ErrorChunk implements Chunk, Serializable {
//static final long serialVersionUID = -8639937515957851296L;
/**
Initializes the Chunk
@param text Text to be stored
*/
public ErrorChunk() {
}
/**
Returns the text stored
@param head IDRSHead for report
*/
public String toString(IDRSHead head) throws Exception {
String err;
err = (String) head.getRequest().getAttribute("doc_Error");
return (err != null) ? err : "";
}
}
Index: IDRSHead.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/IDRSHead.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** IDRSHead.java 22 Aug 2002 20:06:33 -0000 1.10
--- IDRSHead.java 9 Sep 2002 21:27:44 -0000 1.11
***************
*** 21,26 ****
--- 21,29 ----
protected HashMap varNames;
protected HashMap pos;
+ protected transient HashMap trans;
protected String[] objNames, dbNames;
+
+
protected transient boolean send = true;
static final long serialVersionUID = -4520281654183459125L;
***************
*** 147,150 ****
--- 150,156 ----
this.digest = digest;
+ if (this.trans == null) this.trans = new HashMap();
+ trans.clear();
+
this.userInfo=userInfo;
this.idrs = context;
***************
*** 245,248 ****
--- 251,258 ----
}
+ //we've made it this far, commit all changes
+ commitAllTransactions();
+
+
***************
*** 638,667 ****
}
! /*
/**
*Creates an error in the request
*@param err as string
! /
public void createError(String err) {
request.setAttribute(ERR_NAME,err);
}
/**
*Determines if there is an error
*@return true if there is an error
! /
public boolean isError() {
return request.getAttribute(ERR_NAME) != null;
}
/**
*Retrieves the error
! /
public String getError() {
return (String) request.getAttribute(ERR_NAME);
}
! */
}
--- 648,721 ----
}
!
/**
*Creates an error in the request
*@param err as string
! */
public void createError(String err) {
+ System.out.println("Error 1: " + err);
request.setAttribute(ERR_NAME,err);
+ System.out.println("Error 2: " + request.getAttribute(ERR_NAME));
}
+
/**
*Determines if there is an error
*@return true if there is an error
! */
public boolean isError() {
+ System.out.println("Error : " + request.getAttribute(ERR_NAME));
return request.getAttribute(ERR_NAME) != null;
}
+
/**
*Retrieves the error
! */
public String getError() {
return (String) request.getAttribute(ERR_NAME);
}
! public void commitAllTransactions() throws Exception {
! Iterator it = trans.keySet().iterator();
!
! Connection con;
! while (it.hasNext()) {
! con = (Connection) trans.get((String) it.next());
! con.commit();
! it.remove();
! }
! }
!
! public void rollbackAllTransactions() throws Exception {
! Iterator it = trans.keySet().iterator();
!
! Connection con;
! while (it.hasNext()) {
! con = (Connection) trans.get(it.next());
! con.rollback();
! it.remove();
! }
! }
!
! public void addTransaction(String conName) throws Exception {
! if (trans.get(conName) == null) {
! Connection con = (Connection) conns.get(conName);
! con.setAutoCommit(false);
! trans.put(conName,con);
! }
! }
!
! public void setPageSize(String db, int size) throws Exception {
! ((DB) dbs.get(db)).setNumRecs(size);
! }
!
! public void setPageFirst(String db, int startWith) throws Exception {
! ((DB) dbs.get(db)).startWith(startWith);
! }
!
!
!
}
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/embedable
In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/script/embedable
Modified Files:
IDRSShell.java
Log Message:
added transaction support and new form handling
Index: IDRSShell.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/embedable/IDRSShell.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** IDRSShell.java 22 Aug 2002 20:06:37 -0000 1.5
--- IDRSShell.java 9 Sep 2002 21:27:44 -0000 1.6
***************
*** 157,165 ****
}
! /*
/**
*Creates an error in the request
*@param err as string
! /
public void createError(String err) {
--- 157,165 ----
}
!
/**
*Creates an error in the request
*@param err as string
! */
public void createError(String err) {
***************
*** 170,174 ****
*Determines if there is an error
*@return true if there is an error
! /
public boolean isError() {
return idrs.isError();
--- 170,174 ----
*Determines if there is an error
*@return true if there is an error
! */
public boolean isError() {
return idrs.isError();
***************
*** 177,184 ****
/**
*Retrieves the error
! /
public String getError() {
return idrs.getError();
}
! */
}
--- 177,184 ----
/**
*Retrieves the error
! */
public String getError() {
return idrs.getError();
}
!
}
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/utils Modified Files: DB.java Log Message: added transaction support and new form handling Index: DB.java =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/DB.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** DB.java 22 Aug 2002 20:06:37 -0000 1.8 --- DB.java 9 Sep 2002 21:27:44 -0000 1.9 *************** *** 16,19 **** --- 16,20 ---- import java.text.*; import net.sourceforge.idrs.script.IDRSScript; + import net.sourceforge.idrs.core.report.IDRSHead; import java.io.*; /** *************** *** 38,41 **** --- 39,46 ---- public static final int PROC = 1; public static final int SQL = 2; + + public static final int TRANS_BEGIN = 0; + public static final int TRANS_COMPLETE = 1; + protected int cursurLocation, beginWith = 0; *************** *** 61,64 **** --- 66,72 ---- protected String methodName; protected int type; + + protected int transactionType; + protected transient boolean hasResults; protected transient Statement holdForClean; *************** *** 718,722 **** } else {//server cursur is default ! if (firstRead) { if (rs.next()) { --- 726,730 ---- } else {//server cursur is default ! if (firstRead) { if (rs.next()) { *************** *** 772,780 **** ! public void buildDB(String[] vars,IDRSScript idrs) throws Exception{ ! System.out.println("In buildDB"); ! System.out.println("cursor : " + (this.cursur == DB.CLIENT)); ! System.out.println("wasCached : " + this.wasCached); ! if (this.cursur != DB.CLIENT && ! this.wasCached) { if (type == METHOD) { --- 780,804 ---- ! public void buildDB(String[] vars,IDRSHead idrs) throws Exception{ ! Exception e = null; ! boolean wasException = false; ! HashMap caches = null; ! ! if (this.cursur == DB.CLIENT) { ! caches = ((HashMap) idrs.getSession().getAttribute("IDRS_DB_CACHE")); ! if (caches == null) { ! caches = new HashMap(); ! idrs.getSession().setAttribute("IDRS_DB_CACHE",caches); ! } ! this.wasCached = (caches.get(this.name) != null); ! } ! ! if (this.transactionType == TRANS_BEGIN || this.transactionType == TRANS_COMPLETE) { ! idrs.addTransaction(name); ! } ! ! ! ! if (! this.wasCached && ! idrs.isError()) { if (type == METHOD) { *************** *** 786,790 **** --- 810,829 ---- ProcSQL(sql,(type == PROC),vars); } + + if (this.cursur == DB.CLIENT) { + caches.put(this.name,rows); + } + } + else { + this.rows = ((LinkedList) ((HashMap) idrs.getSession().getAttribute("IDRS_DB_CACHE")).get(this.name)); } + + if (idrs.isError() || wasException) { + idrs.rollbackAllTransactions(); + if (wasException) throw e; + } + else if (this.transactionType == TRANS_COMPLETE) { + idrs.commitAllTransactions(); + } } *************** *** 846,849 **** --- 885,892 ---- this.wasCached = true; } + + public void setTransactionType(int type) { + this.transactionType = type; + } } |
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/xml In directory usw-pr-cvs1:/tmp/cvs-serv10950/xml Modified Files: rmlSchema.xml rmlTrans.xml Log Message: added transaction support and new form handling Index: rmlSchema.xml =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/xml/rmlSchema.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rmlSchema.xml 23 Mar 2002 04:48:29 -0000 1.2 --- rmlSchema.xml 9 Sep 2002 21:27:44 -0000 1.3 *************** *** 38,41 **** --- 38,42 ---- <xs:all> <xs:element name="text" type="xs:string" /> + <xs:element name="error" type="xs:string" /> <xs:element name="field" type="xs:string" /> <xs:attribute name="format" type="xs:string" /> *************** *** 110,119 **** <xs:complexType> <xs:sequence> ! <xs:element name="direction" minOccurrs="0" maxOccurrs="unbound"> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="INPUT" /> <xs:enumeration value="OUTPUT" /> </xs:restriciton> ! </xs:element> <xs:choice> <xs:sequence> --- 111,126 ---- <xs:complexType> <xs:sequence> ! <xs:element name="direction" minOccurrs="0" maxOccurrs="1"> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="INPUT" /> <xs:enumeration value="OUTPUT" /> </xs:restriciton> ! </xs:element> ! <xs:element name="transaction" minOccurrs="0" maxOccurrs="1"> ! <xs:restriction base="xs:NMTOKEN"> ! <xs:enumeration value="BEGIN" /> ! <xs:enumeration value="COMPLETE" /> ! </xs:restriciton> ! </xs:element> <xs:choice> <xs:sequence> Index: rmlTrans.xml =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/xml/rmlTrans.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** rmlTrans.xml 22 Aug 2002 19:35:01 -0000 1.7 --- rmlTrans.xml 9 Sep 2002 21:27:44 -0000 1.8 *************** *** 14,17 **** --- 14,18 ---- <trans:rml simple="true" ownLine="true">db</trans:rml> <trans:rml simple="true" ownLine="false">dbDriver</trans:rml> + <trans:rml simple="true" ownLine="false">transaction</trans:rml> <trans:rml simple="true" ownLine="false">dbName</trans:rml> <trans:rml simple="true" ownLine="false">dirrection</trans:rml> *************** *** 27,30 **** --- 28,32 ---- <trans:rml simple="true" ownLine="false" parents="repeat,ifchange,yes,no,body">field</trans:rml> <trans:rml simple="true" ownLine="false">src</trans:rml> + <trans:rml simple="true" ownLine="false">error</trans:rml> <trans:rml simple="true" ownLine="true" parents="body">ifResults</trans:rml> <trans:rml simple="false" ownLine="true" >yes</trans:rml> |
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script
In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/script
Modified Files:
IDRSScript.java
Log Message:
added transaction support and new form handling
Index: IDRSScript.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/IDRSScript.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** IDRSScript.java 22 Aug 2002 20:06:37 -0000 1.7
--- IDRSScript.java 9 Sep 2002 21:27:44 -0000 1.8
***************
*** 119,127 ****
public String getDigest(String plain) throws Exception ;
! /*
/**
*Creates an error in the request
*@param err as string
! /
public void createError(String err);
--- 119,127 ----
public String getDigest(String plain) throws Exception ;
!
/**
*Creates an error in the request
*@param err as string
! */
public void createError(String err);
***************
*** 130,140 ****
*Determines if there is an error
*@return true if there is an error
! /
public boolean isError() ;
/**
*Retrieves the error
! /
public String getError() ;
! */
}
--- 130,140 ----
*Determines if there is an error
*@return true if there is an error
! */
public boolean isError() ;
/**
*Retrieves the error
! */
public String getError() ;
!
}
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/servlet
In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/core/servlet
Modified Files:
IDRSServlet.java
Log Message:
added transaction support and new form handling
Index: IDRSServlet.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/servlet/IDRSServlet.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** IDRSServlet.java 22 Aug 2002 20:06:33 -0000 1.12
--- IDRSServlet.java 9 Sep 2002 21:27:44 -0000 1.13
***************
*** 325,328 ****
--- 325,329 ----
//retrieve the report header
IDRSHead head = rep.getHead();
+ HashMap dbCache = (HashMap) head.getSession().getAttribute("IDRS_DB_CACHE");
//retrieve the list of parameter names
***************
*** 343,347 ****
}
! /*
if (param.indexOf("Reset") != -1) {
try {
--- 344,348 ----
}
!
if (param.indexOf("Reset") != -1) {
try {
***************
*** 353,362 ****
else if (param.indexOf("PageSize") != -1) {
! rep.setPageSize(db,Integer.parseInt((String) req.getParameter(param)));
}
else if (param.indexOf("FirstRecord") != -1) {
! rep.setPageFirst(db,Integer.parseInt((String) req.getParameter(param)));
}
! */
if (param.indexOf("UserID") != -1) {
--- 354,363 ----
else if (param.indexOf("PageSize") != -1) {
! head.setPageSize(db,Integer.parseInt((String) req.getParameter(param)));
}
else if (param.indexOf("FirstRecord") != -1) {
! head.setPageFirst(db,Integer.parseInt((String) req.getParameter(param)));
}
!
if (param.indexOf("UserID") != -1) {
***************
*** 510,524 ****
buffer = rep.buildReport();
! /* if (! rep.getHead().isError()) {
!
! }*/
! //if we want to send to the client, send it
! if(rep.getHead().getSendToClient()) {
! //set the content type
! resp.setContentType("text/html");
! resp.getWriter().print(buffer);
! resp.getWriter().close();
}
}
--- 511,530 ----
buffer = rep.buildReport();
! if (! rep.getHead().isError()) {
! //if we want to send to the client, send it
! if(rep.getHead().getSendToClient()) {
! //set the content type
! resp.setContentType("text/html");
! resp.getWriter().print(buffer);
! resp.getWriter().close();
! }
! }
! else {
! //there was an error in building the page
! goBack(req,resp);
}
+
+
}
***************
*** 557,561 ****
resp.setContentType("text/html");
req.getSession(true).invalidate();
! req.getRequestDispatcher(init.getDeniedPage()).include(req, resp);
}
--- 563,589 ----
resp.setContentType("text/html");
req.getSession(true).invalidate();
! req.getRequestDispatcher(init.getDeniedPage()).forward(req, resp);
! }
!
! /**
! * Used to give specified go back page
! * @param req Request object
! * @param resp Response object
! */
! public void goBack(HttpServletRequest req, HttpServletResponse resp)
! throws Exception {
! String goBackPage = req.getParameter("doc_GoBack");
!
! //forward to access denied page specified in the doc_GoBack input field
! if (goBackPage != null) {
! req.setAttribute("doc_Error",req.getAttribute("doc_ERROR"));
! req.removeAttribute("doc_ERROR");
! req.getRequestDispatcher(goBackPage).forward(req, resp);
!
! }
! else {
! //there is no goback page, so we will throu an exception
! throw new Exception((String) req.getAttribute("doc_ERROR"));
! }
}
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:47
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units
In directory usw-pr-cvs1:/tmp/cvs-serv10950/src/net/sourceforge/idrs/deploy/compile/units
Modified Files:
Body.java Db.java
Log Message:
added transaction support and new form handling
Index: Body.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Body.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Body.java 13 Apr 2002 16:06:35 -0000 1.4
--- Body.java 9 Sep 2002 21:27:44 -0000 1.5
***************
*** 85,88 ****
--- 85,93 ----
line.addChunk(new net.sourceforge.idrs.core.report.FieldChunk(id,field,format,state.getCurrentRepeatLine()));
}
+
+ public void error(String val, Attributes atts) throws Exception {
+ Line line = state.getCurrentLine();
+ line.addChunk(new net.sourceforge.idrs.core.report.ErrorChunk());
+ }
public void inputResults(String val,Attributes atts) throws Exception {
Index: Db.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Db.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Db.java 22 Aug 2002 20:06:34 -0000 1.4
--- Db.java 9 Sep 2002 21:27:44 -0000 1.5
***************
*** 97,101 ****
--- 97,113 ----
public void pageSize(String val,Attributes atts) throws Exception {
db.setIsPaged(true);
+ if (! val.equalsIgnoreCase("<external>")) {
+ db.setNumRecs(Integer.parseInt(val));
+ }
+ }
+
+ public void transaction(String val, Attributes atts) throws Exception {
+ if (val.equalsIgnoreCase("begin")) {
+ db.setTransactionType(DB.TRANS_BEGIN);
+ }
+ else if (val.equalsIgnoreCase("complete")) {
+ db.setTransactionType(DB.TRANS_COMPLETE);
+ }
}
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:46
|
Update of /cvsroot/idrs/Idrs/dev
In directory usw-pr-cvs1:/tmp/cvs-serv10950
Modified Files:
build.xml
Log Message:
added transaction support and new form handling
Index: build.xml
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** build.xml 23 Aug 2002 00:40:07 -0000 1.10
--- build.xml 9 Sep 2002 21:27:42 -0000 1.11
***************
*** 56,68 ****
<!-- Tag the results -->
! <cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" command="tag ${tag}" />
<!-- export results to temp file -->
! <cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" tag="${tag}" command="export" dest="${tmp_export}" />
<!-- for debugging -->
! <!--<copy todir="${tmp_export}/Idrs">
! <fileset dir="/home/mlb/Idrs" />
! </copy> -->
<!-- create distribution -->
--- 56,71 ----
<!-- Tag the results -->
! <cvs cvsRoot="${cvsroot}" cvsRsh="ssh" command="tag ${tag}" />
<!-- export results to temp file -->
! <!--<cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" tag="${tag}" command="export" dest="${tmp_export}" /> -->
<!-- for debugging -->
! <copy todir="${tmp_export}/Idrs">
! <fileset dir="/home/mlb/projects/Idrs">
! <exclude name="**/CVS" />
! <exclude name="dist" />
! </fileset>
! </copy>
<!-- create distribution -->
***************
*** 91,96 ****
<copy todir="${tmp}/bin/WEB-INF" file="${tmp_export}/Idrs/dev/xml/web.xml" />
! <copy todir="${tmp}/sql_dir">
! <fileset dir="${tmp_export}/Idrs/sql_dir" />
</copy>
--- 94,99 ----
<copy todir="${tmp}/bin/WEB-INF" file="${tmp_export}/Idrs/dev/xml/web.xml" />
! <copy todir="${tmp}/sql_scripts">
! <fileset dir="${tmp_export}/Idrs/sql_scripts" />
</copy>
***************
*** 102,106 ****
<fileset dir="${tmp_export}/Idrs/docs/tutorials" />
</copy>
!
<copy todir="${tmp}">
<fileset dir="${tmp_export}/Idrs/docs" includes="**/RML.htm" />
--- 105,109 ----
<fileset dir="${tmp_export}/Idrs/docs/tutorials" />
</copy>
!
<copy todir="${tmp}">
<fileset dir="${tmp_export}/Idrs/docs" includes="**/RML.htm" />
***************
*** 108,121 ****
<copy todir="${tmp}" file="${tmp_export}/Idrs/README" />
-
!
!
!
<!-- copy directory to dist -->
<copy todir="${dist}/package-${tag}/idrs-${tag}">
<fileset dir="${tmp}" />
</copy>
!
<!-- package the files into distributions -->
<tar destfile="${dist}/packages/idrs-${tag}.tar" basedir="${dist}/package-${tag}" />
--- 111,124 ----
<copy todir="${tmp}" file="${tmp_export}/Idrs/README" />
!
!
!
!
<!-- copy directory to dist -->
<copy todir="${dist}/package-${tag}/idrs-${tag}">
<fileset dir="${tmp}" />
</copy>
!
<!-- package the files into distributions -->
<tar destfile="${dist}/packages/idrs-${tag}.tar" basedir="${dist}/package-${tag}" />
|
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:46
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/exceptions In directory usw-pr-cvs1:/tmp/cvs-serv10950/classes/net/sourceforge/idrs/exceptions Added Files: PageNotFoundException.class Log Message: added transaction support and new form handling --- NEW FILE: PageNotFoundException.class --- Êþº¾ not found SourceFile |
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:46
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/report In directory usw-pr-cvs1:/tmp/cvs-serv10950/classes/net/sourceforge/idrs/core/report Added Files: ErrorChunk.class Log Message: added transaction support and new form handling --- NEW FILE: ErrorChunk.class --- Êþº¾ Exceptions getRequest SourceFile |
|
From: Marc B. <big...@us...> - 2002-09-09 21:27:46
|
Update of /cvsroot/idrs/Idrs/dev/bin In directory usw-pr-cvs1:/tmp/cvs-serv10950/bin Modified Files: idrs.jar Log Message: added transaction support and new form handling Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/bin/idrs.jar,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 Binary files /tmp/cvs7fEFJe and /tmp/cvs8p1eli differ |
|
From: Marc B. <big...@us...> - 2002-09-09 19:39:08
|
Update of /cvsroot/idrs/Idrs/dev/lib In directory usw-pr-cvs1:/tmp/cvs-serv6015 Modified Files: idrs.jar Log Message: Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/lib/idrs.jar,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 Binary files /tmp/cvsXspEQq and /tmp/cvsexfZYI differ |
|
From: Marc B. <big...@us...> - 2002-08-23 00:48:04
|
Update of /cvsroot/idrs/Idrs/dev/xml
In directory usw-pr-cvs1:/tmp/cvs-serv4347
Added Files:
rmlTrans.xml~ web.xml
Log Message:
--- NEW FILE: rmlTrans.xml~ ---
<?xml version="1.0" encoding="UTF-8"?>
<trans:rmlTrans xmlns:trans="rmlTransSchema.xml">
<!-- define valid rml tags -->
<trans:rml simple="true" ownLine="false" >rml</trans:rml>
<trans:rml simple="true" ownLine="false" represent="isHtml" >ishtml</trans:rml>
<trans:rml simple="true" ownLine="false">scriptClass</trans:rml>
<trans:rml simple="false" ownLine="true" >head</trans:rml>
<trans:rml simple="true" ownLine="true" >object</trans:rml>
<trans:rml simple="true" ownLine="false" represent="className" >class</trans:rml>
<trans:rml simple="true" ownLine="true">constructor</trans:rml>
<trans:rml simple="true" ownLine="false" represent="varType" >vartype</trans:rml>
<trans:rml simple="true" ownLine="true">method</trans:rml>
<trans:rml simple="true" ownLine="false">name</trans:rml>
<trans:rml simple="true" ownLine="true">db</trans:rml>
<trans:rml simple="true" ownLine="false">dbDriver</trans:rml>
<trans:rml simple="true" ownLine="false">dbName</trans:rml>
<trans:rml simple="true" ownLine="false">dbUser</trans:rml>
<trans:rml simple="true" ownLine="false">dbPass</trans:rml>
<trans:rml simple="true" ownLine="false">useDb</trans:rml>
<trans:rml simple="true" ownLine="false">useMethod</trans:rml>
<trans:rml simple="true" ownLine="true" represent="SQL" >sql</trans:rml>
<trans:rml simple="true" ownLine="true">storedProc</trans:rml>
<trans:rml simple="true" ownLine="true">varlist</trans:rml>
<trans:rml simple="false" ownLine="true">body</trans:rml>
<trans:rml simple="true" ownLine="false">field</trans:rml>
<trans:rml simple="true" ownLine="false">src</trans:rml>
<trans:rml simple="true" ownLine="true">ifResults</trans:rml>
<trans:rml simple="false" ownLine="true">yes</trans:rml>
<trans:rml simple="false" ownLine="true" >no</trans:rml>
<trans:rml simple="false" ownLine="true">repeat</trans:rml>
<trans:rml simple="false" ownLine="true">ifChange</trans:rml>
<trans:rml simple="true" ownLine="false">inputResults</trans:rml>
<trans:rml simple="true" ownLine="false">setProps</trans:rml>
<!-- text tag -->
<trans:textTag>text</trans:textTag>
<!-- script tag -->
<trans:scriptTag>script</trans:scriptTag>
<!-- echo script tag -->
<trans:echoScriptTag>echoScript</trans:echoScriptTag>
<!-- Script tag char -->
<trans:scriptChar>$</trans:scriptChar>
<!-- Location of RML Schema -->
<trans:schemaLocation>rmlSchema.xml</trans:schemaLocation>
<!-- Names Space of RML -->
<trans:schemaNameSpace>rml</trans:schemaNameSpace>
</trans:rmlTrans>
--- NEW FILE: web.xml ---
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>idrs</servlet-name>
<servlet-class>net.sourceforge.idrs.core.servlet.IDRSServlet</servlet-class>
<!-- The following three parameters define what pooling system to use -->
<init-param>
<param-name>reportPool</param-name>
<param-value>net.sourceforge.idrs.pool.IDRSRepPool</param-value>
</init-param>
<init-param>
<param-name>scriptPool</param-name>
<param-value>net.sourceforge.idrs.pool.ScriptContextPool</param-value>
</init-param>
<init-param>
<param-name>dbPool</param-name>
<param-value>net.sourceforge.idrs.pool.JDBCPool</param-value>
</init-param>
<!-- Where errrors will be logged to -->
<init-param>
<param-name>errorLog</param-name>
<param-value>/var/log/servlet/error.log</param-value>
</init-param>
<!-- Each RML page will have it's own log file, this is where those logs are stored -->
<init-param>
<param-name>reportLogPath</param-name>
<param-value>/var/log/servlet</param-value>
</init-param>
<!-- This is the class that is used for embeded scripting.
This class must implement
net.sourceforge.idrs.script.embedable.IDRSScriptLanguage -->
<init-param>
<param-name>scriptClass</param-name>
<param-value>net.sourceforge.idrs.script.embedable.IDRSBeanShell</param-value>
</init-param>
<!-- Minimum Number of Script Conetexts -->
<init-param>
<param-name>minReports</param-name>
<param-value>5</param-value>
</init-param>
<!-- Maximum number of script contexts -->
<init-param>
<param-name>maxReports</param-name>
<param-value>100</param-value>
</init-param>
<!-- Maximum number of days a context is open before it is re-set -->
<init-param>
<param-name>daysReportsOpen</param-name>
<param-value>7</param-value>
</init-param>
<!-- The page that will be displayed when a user is denied access to an RML page -->
<init-param>
<param-name>accessDeniedPage</param-name>
<param-value>denied.html</param-value>
</init-param>
<!-- The page that will be displayed when an Exception occurrs -->
<init-param>
<param-name>errorPage</param-name>
<param-value>error.jsp</param-value>
</init-param>
<!-- This is the number of variables used in the app.
These variables are accessale through the Application object -->
<init-param>
<param-name>numVars</param-name>
<param-value>2</param-value>
</init-param>
<!-- These variables will be used in various tutorials -->
<init-param>
<param-name>varName1</param-name>
<param-value>companyOwnerl</param-value>
</init-param>
<init-param>
<param-name>varVal1</param-name>
<param-value>Jennifer Jennens</param-value>
</init-param>
<init-param>
<param-name>varName2</param-name>
<param-value>sysAdmin</param-value>
</init-param>
<init-param>
<param-name>varVal2</param-name>
<param-value>Mack Border</param-value>
</init-param>
<!-- This the physical directory of the IDRS' web application -->
<init-param>
<param-name>contextPath</param-name>
<param-value>/usr/local/tomcat/webapps/idrs</param-value>
</init-param>
<!-- This is where you can define any number of database connections. First give numDBs the value of how many connections there are, and then
repeat the dbDriver,dbName,dbAlias,dbUser,dbPass,minConns, maxConns, logPath and daysOpen with the current db number appended to the
name. For example, if I was connecting to another MySQL database named "idrs2" I would use the following setup
.
.
.
<init-param>
<param-name>dbName1</param-name>
<param-value>jdbc:mysql://localhost/idrs2</param-value>
</init-param>
.
.
.
Repeat this process for every connection needed.
-->
<init-param>
<param-name>numDBs</param-name>
<param-value>3</param-value>
</init-param>
<!-- The name of the class for the driver -->
<init-param>
<param-name>dbDriver1</param-name>
<param-value>org.gjt.mm.mysql.Driver</param-value>
</init-param>
<!-- The URL for the database -->
<init-param>
<param-name>dbName1</param-name>
<param-value>jdbc:mysql://localhost/idrs_auth</param-value>
</init-param>
<!-- Username for the database -->
<init-param>
<param-name>dbUser1</param-name>
<param-value>root</param-value>
</init-param>
<!-- Password for teh database -->
<init-param>
<param-name>dbPass1</param-name>
<param-value></param-value>
</init-param>
<!-- The name of the database connection inside of RML pages -->
<init-param>
<param-name>dbAlias1</param-name>
<param-value>idrs-auth</param-value>
</init-param>
<!-- Minimum number of connections -->
<init-param>
<param-name>minConns1</param-name>
<param-value>1</param-value>
</init-param>
<!-- Maximum number of connections -->
<init-param>
<param-name>maxConns1</param-name>
<param-value>15</param-value>
</init-param>
<!-- Where the log file for this Database connection is -->
<init-param>
<param-name>logPath1</param-name>
<param-value>/var/log/servlet/idrs-auth</param-value>
</init-param>
<!-- Number of days the connection will remain open before being reset -->
<init-param>
<param-name>daysOpen1</param-name>
<param-value>1</param-value>
</init-param>
<!-- If your database forces all column names to lower case (Postgres) , this is nessassary -->
<init-param>
<param-name>toLower1</param-name>
<param-value>false</param-value>
</init-param>
<!-- The name of the class for the driver -->
<init-param>
<param-name>dbDriver2</param-name>
<param-value>org.gjt.mm.mysql.Driver</param-value>
</init-param>
<!-- The URL for the database -->
<init-param>
<param-name>dbName2</param-name>
<param-value>jdbc:mysql://localhost/idrs_docs</param-value>
</init-param>
<!-- Username for the database -->
<init-param>
<param-name>dbUser2</param-name>
<param-value>root</param-value>
</init-param>
<!-- Password for teh database -->
<init-param>
<param-name>dbPass2</param-name>
<param-value></param-value>
</init-param>
<!-- The name of the database connection inside of RML pages -->
<init-param>
<param-name>dbAlias2</param-name>
<param-value>idrs-docs</param-value>
</init-param>
<!-- Minimum number of connections -->
<init-param>
<param-name>minConns2</param-name>
<param-value>1</param-value>
</init-param>
<!-- Maximum number of connections -->
<init-param>
<param-name>maxConns2</param-name>
<param-value>15</param-value>
</init-param>
<!-- Where the log file for this Database connection is -->
<init-param>
<param-name>logPath2</param-name>
<param-value>/var/log/servlet/idrs-docs</param-value>
</init-param>
<!-- Number of days the connection will remain open before being reset -->
<init-param>
<param-name>daysOpen2</param-name>
<param-value>1</param-value>
</init-param>
<!-- If your database forces all column names to lower case (Postgres) , this is nessassary -->
<init-param>
<param-name>toLower2</param-name>
<param-value>false</param-value>
</init-param>
<!-- The name of the class for the driver -->
<init-param>
<param-name>dbDriver3</param-name>
<param-value>org.gjt.mm.mysql.Driver</param-value>
</init-param>
<!-- The URL for the database -->
<init-param>
<param-name>dbName3</param-name>
<param-value>jdbc:mysql://localhost/idrs_test</param-value>
</init-param>
<!-- Username for the database -->
<init-param>
<param-name>dbUser3</param-name>
<param-value>root</param-value>
</init-param>
<!-- Password for teh database -->
<init-param>
<param-name>dbPass3</param-name>
<param-value></param-value>
</init-param>
<!-- The name of the database connection inside of RML pages -->
<init-param>
<param-name>dbAlias3</param-name>
<param-value>idrs-test</param-value>
</init-param>
<!-- Minimum number of connections -->
<init-param>
<param-name>minConns3</param-name>
<param-value>1</param-value>
</init-param>
<!-- Maximum number of connections -->
<init-param>
<param-name>maxConns3</param-name>
<param-value>15</param-value>
</init-param>
<!-- Where the log file for this Database connection is -->
<init-param>
<param-name>logPath3</param-name>
<param-value>/var/log/servlet/idrs-test</param-value>
</init-param>
<!-- Number of days the connection will remain open before being reset -->
<init-param>
<param-name>daysOpen3</param-name>
<param-value>1</param-value>
</init-param>
<!-- If your database forces all column names to lower case (Postgres) , this is nessassary -->
<init-param>
<param-name>toLower3</param-name>
<param-value>false</param-value>
</init-param>
<!-- Determines the connection defined above which will be used for storing the RML pages -->
<init-param>
<param-name>docDB</param-name>
<param-value>idrs-docs</param-value>
</init-param>
<!-- Determines which connection will be used for authentication -->
<init-param>
<param-name>authDB</param-name>
<param-value>idrs-auth</param-value>
</init-param>
<!-- Tells the IDRS what port to listen to for reset requests -->
<init-param>
<param-name>resetPort</param-name>
<param-value>8888</param-value>
</init-param>
<!-- The IDRS allows for reset request to come from only one host,
This host must be either a host name or an IP address -->
<init-param>
<param-name>resetAllowedHost</param-name>
<param-value>127.0.0.1</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>idrsDeploy</servlet-name>
<servlet-class>net.sourceforge.idrs.deploy.HotDeploy</servlet-class>
<!-- The number of servers that need to be reset -->
<init-param>
<param-name>numServers</param-name>
<param-value>1</param-value>
</init-param>
<!-- Each server should be defined with a server tag and the number of the server. Note
that each server must accept reset requests from the app's host -->
<init-param>
<param-name>server1</param-name>
<param-value>127.0.0.1</param-value>
</init-param>
<!-- This tells the deployer what port the IDRS servers are listening to for reset requests -->
<init-param>
<param-name>port</param-name>
<param-value>8888</param-value>
</init-param>
<!-- Where the log for the deployments is -->
<init-param>
<param-name>logPath</param-name>
<param-value>/var/log/idrs/deploy.log</param-value>
</init-param>
<!-- The class of the database's driver -->
<init-param>
<param-name>dbClass</param-name>
<param-value>org.gjt.mm.mysql.Driver</param-value>
</init-param>
<!-- The url of the database -->
<init-param>
<param-name>dbUrl</param-name>
<param-value>jdbc:mysql://localhost/idrs_docs</param-value>
</init-param>
<!-- The User of the database -->
<init-param>
<param-name>dbUser</param-name>
<param-value>root</param-value>
</init-param>
<!-- Password for database -->
<init-param>
<param-name>dbPass</param-name>
<param-value></param-value>
</init-param>
<!-- Macro to XML Parsing Schema -->
<init-param>
<param-name>parseClass</param-name>
<param-value>org.apache.xerces.parsers.SAXParser</param-value>
</init-param>
<!-- RML Schema -->
<init-param>
<param-name>schemaLocation</param-name>
<param-value>/usr/local/tomcat/webapps/idrs/WEB-INF/rmlSchema.xml</param-value>
</init-param>
<!-- RML Transofrmation Schema -->
<init-param>
<param-name>rmlTrans</param-name>
<param-value>/usr/local/tomcat/webapps/idrs/WEB-INF/rmlTrans.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>idrs</servlet-name>
<url-pattern>*.rml</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>idrsDeploy</servlet-name>
<url-pattern>/idrsDeploy</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>
rml
</extension>
<mime-type>
text/plain
</mime-type>
</mime-mapping>
</web-app>
|
|
From: Marc B. <big...@us...> - 2002-08-23 00:40:10
|
Update of /cvsroot/idrs/Idrs/dev In directory usw-pr-cvs1:/tmp/cvs-serv2641 Modified Files: build.xml Added Files: buildDistro Log Message: fixed build.xml --- NEW FILE: buildDistro --- #! /bin/bash #Creates a distribution ant dist -Dbuild.compiler=jikes -Dtag=$1 -Dmess=$2 Index: build.xml =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** build.xml 22 Aug 2002 20:06:16 -0000 1.9 --- build.xml 23 Aug 2002 00:40:07 -0000 1.10 *************** *** 9,13 **** <property name="docsdir" value="docs"/> <property name="dist" value="../dist" /> ! <property name="cvsroot" value=":d:ext:idrs.sourceforge.net:/usr/local/cvs" /> <property name="tmp" value="/tmp/tmp_idrs" /> <property name="tmp_export" value="/tmp/tmp_export" /> --- 9,13 ---- <property name="docsdir" value="docs"/> <property name="dist" value="../dist" /> ! <property name="cvsroot" value=":ext:big...@cv...:/cvsroot/idrs" /> <property name="tmp" value="/tmp/tmp_idrs" /> <property name="tmp_export" value="/tmp/tmp_export" /> *************** *** 19,23 **** <pathelement location="${lib}/servlet.jar"/> <pathelement location="${lib}/xerces.jar"/> ! <pathelement location="${lib}/xalan.jar"/> <pathelement location="${lib}/jython.jar"/> <pathelement location="${lib}/bsh-core-1.2b3.jar"/> --- 19,23 ---- <pathelement location="${lib}/servlet.jar"/> <pathelement location="${lib}/xerces.jar"/> ! <pathelement location="${lib}/xerces.jar"/> <pathelement location="${lib}/jython.jar"/> <pathelement location="${lib}/bsh-core-1.2b3.jar"/> *************** *** 35,41 **** <copy file="${jars}/idrs.jar" todir="${lib}"/> </target> ! <target depends="init,build,jar" description="performs both a build and jar" name="build-jar"/> ! <target depends="init" description="executes javadoc on the sources in src and places the docs in docs" name="doc"> <mkdir dir="tmp"/> --- 35,41 ---- <copy file="${jars}/idrs.jar" todir="${lib}"/> </target> ! <target depends="init,build,jar" description="performs both a build and jar" name="build-jar"/> ! <target depends="init" description="executes javadoc on the sources in src and places the docs in docs" name="doc"> <mkdir dir="tmp"/> *************** *** 43,69 **** <fileset dir="src"/> </copy> ! <javadoc Private="true" author="true" destdir="${docsdir}" packagenames="net.sourceforge.idrs.*" sourcepath="tmp"> </javadoc> <delete dir="tmp"/> </target> ! <target depends="init,build,jar" description="Commits all files to CVS, perform an export copy all documentation and package the the distro" name="dist"> <mkdir dir="${tmp}" /> <mkdir dir="${tmp_export}" /> ! <!-- Commit all changes --> <!--<cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" command="commit -m ${mess}" />--> ! <!-- Tag the results --> ! <!--<cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" command="tag ${tag}" />--> ! <!-- export results to temp file --> ! <!--<cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" tag="${tag}" command="export" dest="tmp_export" />--> ! <!-- for debugging --> ! <copy todir="${tmp_export}/Idrs"> <fileset dir="/home/mlb/Idrs" /> ! </copy> ! <!-- create distribution --> <copy todir="${tmp}/dev"> --- 43,69 ---- <fileset dir="src"/> </copy> ! <javadoc classpath="${lib}/servlet.jar:${lib}/xerces.jar:${lib}/xerces.jar:${lib}/jython.jar:${lib}/bsh-core-1.2b3.jar:${lib}/commons-pool.jar" Private="true" author="true" destdir="${docsdir}" packagenames="net.sourceforge.idrs.*" sourcepath="tmp"> </javadoc> <delete dir="tmp"/> </target> ! <target depends="init,build,jar" description="Commits all files to CVS, perform an export copy all documentation and package the the distro" name="dist"> <mkdir dir="${tmp}" /> <mkdir dir="${tmp_export}" /> ! <!-- Commit all changes --> <!--<cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" command="commit -m ${mess}" />--> ! <!-- Tag the results --> ! <cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" command="tag ${tag}" /> ! <!-- export results to temp file --> ! <cvs package="Idrs" cvsRoot="${cvsroot}" cvsRsh="ssh" tag="${tag}" command="export" dest="${tmp_export}" /> ! <!-- for debugging --> ! <!--<copy todir="${tmp_export}/Idrs"> <fileset dir="/home/mlb/Idrs" /> ! </copy> --> ! <!-- create distribution --> <copy todir="${tmp}/dev"> *************** *** 73,77 **** </fileset> </copy> ! <!-- create the "dist" directory with the default WEB-INF --> <mkdir dir="${tmp}/bin" /> --- 73,77 ---- </fileset> </copy> ! <!-- create the "dist" directory with the default WEB-INF --> <mkdir dir="${tmp}/bin" /> *************** *** 79,83 **** <mkdir dir="${tmp}/bin/WEB-INF/xml" /> <mkdir dir="${tmp}/bin/WEB-INF/lib" /> ! <copy todir="${tmp}/bin/WEB-INF/lib"> <fileset dir="${tmp_export}/Idrs/dev/lib" includes="*.jar" /> --- 79,83 ---- <mkdir dir="${tmp}/bin/WEB-INF/xml" /> <mkdir dir="${tmp}/bin/WEB-INF/lib" /> ! <copy todir="${tmp}/bin/WEB-INF/lib"> <fileset dir="${tmp_export}/Idrs/dev/lib" includes="*.jar" /> *************** *** 86,102 **** <copy todir="${tmp}/bin/WEB-INF/xml"> <fileset dir="${tmp_export}/Idrs/dev/xml" includes="**/*.xml" excludes="**/web.xml" /> ! </copy> ! <copy todir="${tmp}/bin/WEB-INF" file="${tmp_export}/Idrs/dev/xml/web.xml" /> ! ! <copy todir="${tmp}/sql"> ! <fileset dir="${tmp_export}/Idrs/sql" /> </copy> ! <copy todir="${tmp}/dev/docs"> <fileset dir="${docsdir}" /> </copy> ! <copy todir="${tmp}/tutorials"> <fileset dir="${tmp_export}/Idrs/docs/tutorials" /> --- 86,102 ---- <copy todir="${tmp}/bin/WEB-INF/xml"> <fileset dir="${tmp_export}/Idrs/dev/xml" includes="**/*.xml" excludes="**/web.xml" /> ! </copy> ! <copy todir="${tmp}/bin/WEB-INF" file="${tmp_export}/Idrs/dev/xml/web.xml" /> ! ! <copy todir="${tmp}/sql_dir"> ! <fileset dir="${tmp_export}/Idrs/sql_dir" /> </copy> ! <copy todir="${tmp}/dev/docs"> <fileset dir="${docsdir}" /> </copy> ! <copy todir="${tmp}/tutorials"> <fileset dir="${tmp_export}/Idrs/docs/tutorials" /> *************** *** 122,125 **** --- 122,127 ---- <gzip src="${dist}/packages/idrs-${tag}.tar" zipfile="${dist}/packages/idrs-${tag}.tar.gz" /> <zip destfile="${dist}/packages/idrs-${tag}.zip" basedir="${dist}/package-${tag}" /> + <delete dir="${tmp}" /> + <delete dir="${tmp_export}" /> </target> |
|
From: Marc B. <big...@us...> - 2002-08-22 22:52:29
|
Update of /cvsroot/idrs/Idrs/sql_scripts In directory usw-pr-cvs1:/tmp/cvs-serv8412/sql_scripts Added Files: mysql_auth.sql mysql_docs.sql Log Message: Synched Development --- NEW FILE: mysql_auth.sql --- CREATE TABLE `tblUser` ( `UserID` int(11) NOT NULL default '0', `Username` varchar(100) default NULL, `Password` varchar(100) default NULL, `GroupID` varchar(50) default NULL, PRIMARY KEY (`UserID`) ) ; CREATE TABLE `tblGroups` ( `GroupID` int(11) NOT NULL auto_increment, `GroupName` varchar(20) default NULL, PRIMARY KEY (`GroupID`) ); --- NEW FILE: mysql_docs.sql --- CREATE TABLE `tblDoc` ( `DocID` int(11) NOT NULL auto_increment, `DocName` varchar(20) default NULL, `DocSrc` blob, `DocGroups` varchar(50) default NULL, `DocParams` text, `DocConns` varchar(70) default NULL, `DocMin` int(11) default NULL, `DocMax` int(11) default NULL, PRIMARY KEY (`DocID`) ); |
|
From: Marc B. <big...@us...> - 2002-08-22 22:51:52
|
Update of /cvsroot/idrs/Idrs/sql_scripts In directory usw-pr-cvs1:/tmp/cvs-serv8215/sql_scripts Log Message: Directory /cvsroot/idrs/Idrs/sql_scripts added to the repository |
|
From: Marc B. <big...@us...> - 2002-08-22 22:49:26
|
Update of /cvsroot/idrs/Idrs/dev/lib
In directory usw-pr-cvs1:/tmp/cvs-serv7700
Added Files:
commons-pool.jar
Log Message:
Synched Development
--- NEW FILE: commons-pool.jar ---
PK
Â0DïüC~ Á§ÞT<è¥Ðûl4ÐìtEý{Û^<óxÃ\RÄQluLLiÜF«ãKæl¯±5\o
ø;:Ï93®0Zu}ÉÌp¸¶f· ¦ã(O¨hNü ° Z*`°û÷ÄL{[×huÎeÀ$ÿ¾·×~tëR«PK%ÝÛ
M·MÓ¶<ͱmC¦ch×®Ôç$]2Q²7µü¡ð¥N<gÒþ9ÃemQ¢ß9Öû±ýH\ý]»ÞWÆ
+*T°¯¢²T.R«÷Òa3»\ºù?êEÞ-{ð2?ócÖ¿=ô¦/L¬>v]a
·Ò0¤éßNËMÐÐæAÕN{.è
VC[VºgI«>ð(6Á3DG3D/ÍÂ\ÒÄ1ǧ³ð_þB3ìib°màPKçb³g
^+XPóm~,D^ ÁÝékíÈpnÙ´\+tw7¥ýøí¦¹]så¯rlÊ t]YsçìS:»4¶r8¶ Ýí*ëôûËVYù®U9éîJ²Ý±|¿
m»öÜ*@OÑÞ®,TսŠæj`·HVûZ\7K®Sý[ ûÌ©ndÍ-³´)³%§RqìZvËqÊÙyçVßÈ;
6òú»¹Ùj®<S·Z¦ræî[Yaòö H«wO9'OòOªÒt%/¸6njvx2Æð@Ã︬á\×ð'®j(r÷/¤5,«<Vâ±5¾<6u
xì
Ë O\c!5X2,Ã<1ÂKFù.F[ûúÐñ·ÌîÿÔoÌ3[6íðÒßÿPðÓîÿ¼â
ëì±J9¨bÊAÓÖ+íh©êÿNaJ5«K¾U:þWÿ"Cé%:Õ*èÑ(1½¢|Ì~¤ö#¶é¼ýh1ÆápÝHÈ}úPÿnÞ¤Þ ºpâ9#T£ÝI5¡ëF$²¶þ;!qÅQ#3ì!FM¡¦RSKPk§¦Që ÖIëÏÝÐçJèÓcdú¾ø^\& F1E@*ÚtýýGSGÖë1]9hÈ fÐcM2L6df`]=xïè»(þcì!i$Õ:NûzÆ ¬³F´n#RÎbé ¦Î±:ÎÓ=
]0h ×Ðc÷12Üϰ®0«ȩ̈âëí̧4Æ3ïoî!~
77
$ÝãÐ÷Úð(GÖyzdîQ.=òõÈÏ#7¼<ôì¡ÿ}èv4AqþYÜBü+PKNá"
kdKS&5ßák[¥Ú^³ár[§Fzj÷Çë%YµSêÃVª»À^YÑ9ï«¡á×6
9ºXôfFèOGCh@Ü4]OÓ=!Ò>] qZ] OFú\l,Æ# Cí ¸¸¦qâ'ÐCÐW@ÇÐÃèdzÎåW@³Ø3HO1&Mß(ã²øË4@´,åm¨¸ýÄúû¾ßûÛÏý6ýeª 8JPí~ßRi¥ÊH hx9DhTÊÝzZrGß¹Î'SA{
iÝXõEÚ÷¢´'µNÍOÕc¿T÷9Yõ ìo§¯º}çq½vä~¨×<ÚÏR}¯3A4Ñ<˪ÌU«gi?̰¹÷:ŰEq»ØQ¯ì¼G|{IBÚÞýù;<,ïÓÀûhuàû$ÂôýÖô/vÞÆ]/Hü¾øPKýëqT
?Âvsi6»qw(~+ZÅ'_¨3Ìð yá
Àê8âèÃè3¼è?à3þçî&mcÃCI§çû;÷ì9çÞÝßîÿ#èÁg1t ?ÍØ!ÉÎ(°+§°[=ÙÃÓØ'É~IaCÇÈéÀürDÁÁF1E3i ÒmÄ8ËcR:îi¥4!ÉÞrÞãD'ñ¢$/)8¥à¯2Ä2jjÂ0Db¸9ÝéècèK[öTR-¨ZN$5+·L'Y°,#©çFò0
kG'Ï
Í'xCôø´éæ«kg¯nêî>þÄru`
[YAQüì í¢ÉÐ8%Ü#Åüp\ÇÓrt#É@'ÇlUðG§¨Ð8² `«Ïª%5i¨æTrä&
®ng0¥ Ç¡ã,Ç9<ÉaÀT`q$òº¼]Â6h·¡å=K/NèyJVÍÆUݦDê¢|Ô$ïaCuá(p9(qÇiLËT.â
7ñ·9ÞÁ»ïa+ÇûRú@Køã#Ì(øã\æøøHI×\ÒR楦
úù-б¢iªÕ¹wy[1l̸T!áÂô¶£ÎP<ç°n:UÕì>³
JóºB+Ú¶0ÝêzM¢3ý+˰cQ JÉ!
g
Þ®;ëÍ¥fÑQðöwÃEÛ±lùLiÝ<'²iÝq)\ÿC¸Qug$_p§½¥srôÞ{Ö$WýÑÎɬÃ)ÁÔÃ{Óáʩθ-JºU¤Â5Ãr(ÍÂ<T[d¿{jÚs|ÚqE¡¹Újnµôðcòñæ¡-×ýËtF³Xl±EÞ*Éí3gT9T½äo9K2ÒAßA¶¿¤E
ÒR/íeE£ËÒµéêhM,*leÆ%Ã9Ý*(^R]Qõ\U ^¬¤Dõì" npu³rý{Ñy¡2Ja|«nj®N:rút ¦ Ý@;½h:ÀðÉ+@¼? ëü
è¿ÛhÝCRÙ¯êú¬«û]Á[ÞÿëE²bØBfx¤+4¯§wIUHQàýÍÒev/:Øu°P<ô³n"4ýRFc*L<¾3ðÉf2©°ç+
·e%Öý
Ú*ȼ"vé26wßÅb+ê"ô\+2ÛBF«f±é¶eÒ5ýæTÃZâ
7±Zø&k¾¼vR¶ú˵R·î;<@¿§¢eüê+âWðCp Zkµ1@6}©
h«Un!©Æ%[£WP¨E
`Û)ÆÆº1buëc¹ÞËcÓëKÖiU®Ýÿ+ö:ÅÇùjoWîocÝ_C¼(°þ@C¶» àOü¡°
½/êFÒJêàø\ùñ~ϵË`Uëòú(Tª4j¬Â0R
A¼§£ótÿ!ã®}cÈîE'Äè.çVÝrÙ_;·r&îfM¼¦ßR2Va(»kÏ'õ4LgöñõZGI F,bÌ1ÿKêÍÐ;¥ñäèÌ^íÙ¸'ö¹¼^(5¯÷áýGO3°H·ÑÃ0ÝÙ¬ ¥µåô¦¥:I]Þ3RK°?`¶Á»º
~4UL©i¢Hj¦úÊ<BNô&
¦Ò¤(?Ýl:Ei!ÊN?QJ
È®.2u¶ÑANðò¢¬{G·³Ô>¸ßâ]ê^@.¹øü»hÜ&¶|ÆÆ=PKAUµ
rïΤÇãÔX:gw§´\NÏ òD'Gó¬ 5ýGÔGóCÉI=×&§hIÆïöÅ£÷îë<88Ýïîõ]VB"6¦ó´TAwph ª[°½«§÷ÝLEíèfÒ
A5{¢Ý{â½÷Æc{z¢Pc"¨¶Ö¹{(vÔ&¹@&Óûûî
Aà~Aõz(:8ïïwõÀ
ï³!D@XCax_¬'j¹DõFã]Ñ¡á(s(&Íì÷Æzzb6Y{ûöJIñÑÍ|b ëJÆÇLa]¦JC%ROj'cLàiçh>y\7ñÃZ2ÐÓÑZ!×¼#ÆåÅó¸åþtW&Í_èùBôUr=<Léü
ñ<£KÏÐ!cr
é\o2J"âéÂärôlÙAñɤÁ¢1ÄqY|J|*IõjSµãZ{!LµïÓr@vòÊ
=ÉNssO&;Þ®Mi£zûhfr!1Ò¥º\ûîB6ɲdú¨`¶ö&]#Õ¨ñ|&¯¥,gù¥qL%>¦q:t.6¥ýný8ë1²¦Ûàê` ºQ·/)!99jß«#£R!
en1¢Ü»édþA·´,Çm9wg8VnYe¾Qg¤ò[¥5Ƭå±vígæ]Ëe¾ï>fïX.»´üöesÚ;
þý±ýR:®ç{çË£e[È\ÒÙ"ÍÇÖa»
&ùúÜdgK³ûMFj¬/Wr¶ì/Ûfª\Ù¢¡R)(ÆÕ¹
xg<Û<U«æ·Z ï¹z¹
殹%
r¦t-+o"ýv2ÌàëJå×X²åáØÍʵÌÛj³Í^LÊäÌë¶*»7¡)ÇÒc¼-åçÌgéñÎÒÇTÑE¯QÅn:¡=ôzUDyÙMoPÅ^ûcÜ~Ý
ؾ¦Ò[£·2xôv w0õÞÅà4ÞÍ[Þó÷ÒªtÞ§ÒÃ<{?að(ýJ ¢{72çnïWv¼0©§ó¥@¶.<IWalLÇÔÙ4AUô^Ü/Ó|0«fÆÓÉWëíªè§oá@â ÕeA7.ã!Fiý5D6æX:Æ¡¬®%? Aú*èkqPpb/ã)úJgP¤>IR鳨Js¾Ìà2S¿ÄÔ/ÐGÜ«º¤û諪x¥¸_W©".Ú»ûmûêà¼Oû2
ÑhJ_p«Ë®<×Çõ¬*4:ïGT1
ãpî*t>ªN3hÑ*÷g³
)\vÀf¶!SÈO 6#:cl0Äf¤ªãª çUªâ(=®l^lI*RØpÿ*&EÚ#2ªUqÉÒ¬JγcìÃcì¾WE3zÎÃEá<×òz±ë·åZVj)¾éSAÍjpê ¢s÷¡Qâê ªôË^ê}^ë¶µ.ÅÕ¥åôE»·^õ±.ßY~FÉ*ëîרvôRËï)ý(P+|µ²ÇoºFG_¿TC¿îjýüÊ?ÜÚÔN
·,.´k¯Q±ð²4¢?Yªä3fÁaɽz÷yKÖr8r*)üêîÑôIö¸éÍWT$ëò¢&ÇNu¦pïîQ-=ª§*ö
ÂÕM"ÅGÙ,²¾Ü<S
¼<ÃËyèì^fH,ñ ¢½ªÊâÇõîdËrå#X¡$Í÷vüê=)ÝIí¨n¹dÿò®ÃþYwî:nXWkgý*Y,PT,Vaw2Qxmw£SZ.W!leaͲÖJW?ûê-oÊê3ñ°¨v1GIë'Áï6.Ù;¡åú$ÊÃKɸHóÂ×hË*6R2$h6PÓ ÌOò¿·Ð)¬_]¶þ
¬³lý[X?D¯)_õë¬{ÿïÐëKkôÇô»ô
}¿·`ýÆë7-àÿý2}õËèrr
¹-9¢×#Ú-9¢ãã;Íñ]æxÚÜ÷nï=æ=ÑÉñasý~sß#æLèÊ0¶À¦³ôà°ÚBÕ°hm¨µFqÖ¨Qî:r8fÈu%;Kpð¿úlµ/Ïϯ
o%¾Uøª+ä3ål6å4Z×_Uñ´É° nõ`hªw.¹ÿÃeGS£ûýn¿Çã#e<óüî%4|´Lw^Ë÷+¶38D®¡c{hjB5Ê%Z-amlhMÈyêBKägPÏ Á
¹/Q
xäá¼Þ9¿ûz¨òc¸"ÊlÈj<AGáÞ)ü>yãEhc·v±cQîürG^
Ò7é[f
P|*w1ÖÌ´)5Èö_mÐRØ`ìyÔØ¹é-]
!ÉÃùæ$ï÷ä$¹¹½¸Bûxñe¢ÇZÎ^¨òRmÇ+×»F÷§ôxtÊà}G=O¥ÿ+ðü¸ß¼aGÞW*ò(
¾~Ò>2Xݾ<éDA0=ÖfXí0iª0¡Ðâ¡ê?1äÜú7|3þ¸mÕÜvªïÜ£é}VS:êCfWj3ýQ @!oÝú!3³âèýìgeá1ªª<±`aÕÂ#¬Y°±Æ°÷PPØF^'þïÅ`z5YðÖüûÛÇò¯ô"9èé-êÿ_SÛ±C? 2ýyõü
l$b/ÃìuP
êªÑlÜæq[3
!Ô+Ø!ûññª×À¯ãÃ8¢à(1¬ÈUؤÝH+ØLXfBíÓyfìæ6Ͳâ
ÞHoáÃilM¹#vk1Ê]Å;U-AyåÔ*ÍA4èªeqKÆÛ
ÞÁqï"¡à=ANÌÞÇI§ðñã´3"Ì8&È'
>Å2g
á3A>Ç9_à¤/Ça¨NFZØ6)^yByóG⪮¤aÍ}w[aA¯MµÛ{97ÒkÒ¨Õ®éºFÅZ¦ÐMpÚ¤ L$¸agÇs**Ûnõ¢FaéÇ©+ZDÅæ÷ÚUÒÌvܶ¦T+JJòuæZÚ~ÊÏ+ç}y·«
ÖÐÖQÜÓÀ*wþlÚ°nZU¾ÏN÷/]@n#=º©Î±Ñ.êx%·Ûrº¯¯h¾Ï}^gjf*"?>!N*mCÍctÙ ²ÊÖ%Õ"nÕt?2õÆ4§ÖÄÍOvÎKð9Èŵl¶ª;a³¨]ªè!w¼JÓ.j[`;{°Ù%ÊqPÕVkß;$õAn9mÍ¥9N%Ç9Q/ÈÕÛQë$©
{mïjÎ&VÕUgW+Ó}6ESHjIÿ-7·×È<F:ybÒU@ 7ýÛU;JªöY¢©7Un"æ
ôü¯Ã£à
'¿ÖZ1xÏJõ¬úÊo
Ã#ðÆP@Ë.`kõ
±XQGfjÍf^Ŭ×Oß1Ñ¥ÂbV=Âþ$¿ÉxvÝAK±ßI3Ì~ Vr¥!ï8æú½£x;3ü§Îb'çáQ¹#³Ñͯ~.L
c
g½naOf}õ¤XOÈb]îáaÖäªõÝùîZ_
ËC
^~u±b3n£Ä7¿oQ/qá4öÌÒÿJ"©Ügn8RRÌ®¦s©¸÷¬¸ój_²¥q(äxÎÝõËéú+$î/¼-;×ðnªÈ¢DIÉbÞ%xQrúºjº¿ØZ¶2ëbýlxdÿÌ®³?#ù¥ù¥EÒ
©ü¤óÒy.J_Ó:D¼ÜeªF4UÀ¼ò2]yÑáeG3ã£ã¨2Ç8~1ÓyÛΣ?¥ô>ýT:Àõo¥÷ðWÀþPKoââÛ
2&dLªc<kL ò à´
ý ª`MDz¥U¨~Ø!Å9ÊX-RXØUVV«`$D~FìâäsÇk!¾ÄNwòÝ,ýqñ~DúÜsÈÒJ3ý+Uøï«ã¼1ÑkIÃ8ý
F/>v
ðJx¤Ý¦;&¢áä#rMEGõa©OúÓU-ñRÑ¡H£M$iî¤N¯¢ç¾Þ>é¯&bÃâ}×ýÑøß#üG#Ï(P[4é"ý.¾Åwoä#íy2ï)AOy¶»DòÓ ïÛwô*5BôýlÐOÝw´º¿'ÈoC¤4AbãÿþñaûÝ´:½ð19ö;{¸»j?йGþä;Å!KÅú&)ÊDÜßdl
þ¹î5|í9I¿aßüPKx´¸=÷
ÁSeLîøßÔðb2Áä½@Dûñ a5DÄd2ʾ}SÁkø.N´V£¦Sñ¢ïaLÃ÷±T¶³îÉrFæ9&I¨ªÒÊëøª.cÆh11;5+*~Ó®â
Ëkø~¬áW·ÊÙí«Óé#EIäkýk*^Ö°ªøWði$4\Ç
Þ<?ç`¿À/UüJïYá7¸!нñÏ4j_Õð[üNÅk~©áuüÍ0²¦Ê|Ìù#AãK¦
f*0}ÖXé÷ 4øÎ³ôO´;$O!.°¿ÇtZÎèiBÛ5¨í¶ß¸àÓóÒ§§óRO.øìyÀÿYàðÍJ%É9¯gíKG x3ãzAnÒ>ø±VÓEM#ÐV}éqɵ)°Mfż¬;W®hZÃætèVïʹ=U
}NÇÀ6.µÌp§ ÍëéT²Fög·HN/êü¶$eÁÌå³RH=Σ9W,ÌÒÜ£O{9g»½$'ÜRÇà© uºî:õÃ'Í\
çÈ^Õ1kGÓmÊËaý®H»ëhZîªs<-fØ UùîÚR àe÷Nã%jäåPÅgÛF¨("ÕD8MXÑ`¨{-9P5UeϳWÏPºMz.'³IóìÜ<Ní^%{èçðæÒÐùuÙ ÞµUìqÜF*ÇèiÍèÁqi}R4`Î'jÎ÷CáiÌ<f²µF5æ¬'uÄÒo'4ÌÒi'ñZ@Ühs««hXÿa1Gki5Ðêµ´öÔ+=T£äª*õÔ);J¤ÂÜ`{®ªÆDEÃvC=õN9i+´NV¡Ä
4ÚÜ+Pê
ºVÐÌÄÃo Èâçáns/Béaµ½Ê%¨*ö²þ:´ÉU´°«ÊÖkG¾
8M9sä¿¢ ´¾*¢kh°íZc¢÷
£ìÚb½$qÓ?õNË"#N íIo ´ó×±}ÒµNf·+¼¤¬áëWi5]w;ÈñÎë|®aW¢"tÝü2¶YüÐv»À)¾<G°ÒÛÞ¯TÂíRJØ£L9ACW ÐÄéÇ«.õ°U$4èÊïÃ#öEs娾)»f'p{9pÏâÅÿ c9Æ^Ñn]Å:ïsa,Y®^Bwo¨ß
à`Èñp{ÅâfÐ[U¬G/tY&Tæñ$.lÀIàQBÏ.Jn+n¤FráYrjvjKqsU¬;âÃ6tWM2ÁRÔµs-YÓJwXk=×å£ó¤Á=ÓQó[QÙ¶Û²®t~lØï¶)áMkx³Àð"ZTd·ú6zm<÷¯¿Ûdéäi)7}9
ª®$üUê(Ëô:bØi¡Þ»ó ý
åoÖóêþ¤¾EHâØ
íÖÈêS+ÛfÕs¯¦;͹gVwe¡ê4íö§^x$_ÉÚ
ÕØayë
¬zK!5#µlË»+p{$Áèº@rÑ©I?Ù¢co[;Zɶes±nº®¤eº±¼/d¬Æ^½ð@R«ð!Ç.Ãá
uݵÄèt<´Xfx6.¼¹ÉøL\<Xù\l:̾ð?ør©xdªMiz§
äGF/w<ݼ
Óð#nhø iøh¨pój0Y¶¸¯Ê}5®Iî͹ï&Ë0|Ê#<j°äYÆx`§LpÏnÅ8ftBbPKÇ¿ÕìóÀ,ÔM{§
LüÇïèÄ#Îé¶»ïʹwrr!*'צvöêÓÎÞzï¸ãr]q×.»áºþu&FF×i§èÝ ð:ä}§÷L·>´ûA¤D:A4¢âX4o<â&¢6
iòĤ·¨5¼GñªÏªÉ^¬HPHõ"8BÇÁ»Û1MDâó¢¢PQ©¤©d¨tRѨtQé¦ÒsÆçNäs3òé3ò&þ:n¢#`0¼pþtÛ£©á£
óõ®KÌ´ePN3è©2̶eHf`]=ßè{(þj!kdÕÞô°®ÉzD:K¥/ºj¤ZøêÔuÍ ~CO1>Àt.Éð ú´®2®w3K3®w2ÓÏ~¼¸»¸-nYªSo0ðÜð)OÖ>yúdîS.}òõÉÏ'7¼|ôað÷Èí+ÒÅ)úò%Òÿ
ÌU§
û6IñµQ¨ãq¾SF%º¿¯¾¨ÁÁéê»CÒ¶ºÖ|ÖC:ÌÅÄï
ìF2M²q&§2¤EÀÞìMzÃ%zÎ:wG3Á
æzÌ-µ[ê4·Ò®¶]Æy¥/øÒ·ÉÛ§o'Ⱦ
¾A
rVÌe¨/¨dX`ÔõBºT3ø4_Ìpåkþ÷Gnà£öPK(AT+É
¼k
Ëñ¸Ç6<ûBÁD4&hQÇë`¢;4¬ÄòðÈN9ÄØÞÀsÍ®nÏÖÀ¶¯OpÊD,$vÉáQÅÄQ"¨8c¹Û×ÑzÓÄlQÛ;;z´@PáV϶_w ½åw«Ï^¦Ù¥ÓZZ»½»@62ÞáÏØÛâíÀ6A¥ºÛÓÕèðܰÄÝYîN+AèÝáõyt#W§(ÞvOÀíéîõ°9»¼ªÎW Ýëóy»-3Öú{ÚUI]ÎyÇ&A¥÷êÂZܺJM!Òxûà ¿¶¡}ïC H`ÿñGã ¥WD#8¼@§ÜqGc±èþéy§¯Î{BaE¿$@`¸Ä~â8f §s4o
Ã!RY 2:Ü
¦øN%¶@Pe`8¤±È{4qc_N`$
ZçÆå98¤4£ÃÃ.á°¢J7¶ÆâÑð
"{~_(ØÀ{9Ç5fÁÒw0§âÛ4
ì5=í5ÅÈ
õsJ
·+H¡PPƲWèY¡H(Ñ,hmí<ÍY½K¹5ÚSBó寽Z5PU^:_]^æZ7o.wó]q|»w3çåÀ©ºþB5/µÍÛ¦²KJ¢}:-Mµ«½@Æg ͵ª¥XÚ-SÁb[l®u3»CÓ¤å<XPëñ4¹¶-m^2âiPºgHAQ,gâ͵êÞ¦1½ÔÀ8y͹Ë3~Þ%å⣶Çç¦UófÏQyªãç¦ê;L«
ñY(;PÆÝÚ4w¸?¥=ª5"
wíjßõò>¹1,G5,W,Ï 2¢VDÔÎ`XcêQéÑæ.gmªY)ÅÔ#1ÔÎÍ" 0×CcQVíýÊÑAod iUW"nè.ºWµÄj
KÂEc¨ãi=Ý(k×ȸùíàÀ6%ÑÛ£·3xôN w1õ·2¸ yÉíüv½[¢÷Ð{%ºqï£÷ãv¶Ê;cP·ÄGH"å0dQ¦éîÑ,ÎrI:%±V\Êà2¼3M8cJ0: Ý ô¯Ä:z;£^ÀÍ
zvaWë¼Mo¥{(¦Èý_/+éh¢)«Ø ð¯ØÄN~>"ÑÓ#=Hèq,¥cdp©I¦>AXE³$6ÓÃØBOrÏÓÖ¬¤S5y4
7ú£]£Á!OXq@VÑ" 7=Í[iÄV¶~+=æ#íp# %Á1¥l
«&ûQíp®ÎhÌBä;£ª%ðmØN§%±Cx%ÑF§ÑNMÉÄU¼È'ÚÂ/X#v²!WÓc=ÃotT]BÏÒQèy] 9¡¤YW¡¹#îcSói9e£ëÐòµÉ&ÔöóµÉ)Ñs,;gN½ daçìD'ÑZ]3¿³A{9[+é͵0}Ѻªx¨*iýꢬ=ª5ÕÄZSm®4³mfvÕçéQKçjQ+ÎÕ¡æe´ÂydDôª¯]gGÆ tWâ¦jKD5LFu6ä»SËîl«,]vá=ª¾º¶ÊÊ0;;K̨+ÆeaGé
µqÚ *áëºÆpjÃGc1äsºïrc¿OÙqÉkW3
khXÞ«fxæ½ûìwy¿S9ûø³ÙnÙ|5;Åò|¬õ§!²Þ Ü/àÃzk^?Â'3æ¶*¬~f·©Z½:úfcaxD9
Æiù$ÕôM³o-KÒòê$(Z$]4A«¦\¥f6§ÄÂXÙ [Tjg[JrÙRm)Ég#'©ÂV³]'h±ýÐQZ«
aK&©¾%ÔÐTP^`NÒò$5.ºêN]Q`ÌÁò¢Çt2H\ýUW²ÛÚëw%éâúÓãdó×n:uv*ÂÆy?=Ep±&x)÷£:¹bÙUÞJÍ}«²º¯Ï
³¸°2Ã
ÇuÑÃ)¤,Xô¸NF[¬W
|oxæcY=³ÐðÌ£Ù=³ðüù8=Ep!MzÊ®ª,,¸Ä°ëYÙK
öcÙÙK
¯ÏêÅWHyeâmÉF\UרÝC4%é-öá°Åã´E[rá
õ*z(ô7p6 áu¡±±Oeux¹±±)ÏØX¹±±Y7Val,ý¸+íYÝZfh2»[Ëí§è).C8Ó{\u(ÍIZË£%IòhKÒe<Z´GG.ç17IWðÔ\Ïc^®ä1?IM<JIÚÀQe¨¤§¡+Ûª³h~6n'ðÃl¤Ä¦g©Ù?N9MfÑð0½ÌIÍ¥áª^@É:AU§h &ó$5÷¹ÊÍÔ9MµTKKÅËðlTSq¾½´9éâ$ã`pÀàÖqÊu1"I[Ùxôìµ0·FáÙ¡{ÎúµhÛmÊLn6&³D´ãygÎaø2
k[keåôüª¤zaÓÌk¯¸úà
óu¨â=C³S1Ñf\ï÷£8yD¨ÕäÃ?M|¼/åBý »Ô6h³æp¿o±ºSÔ!ð¥ØÒFæv w
¼Zг¯h,Ú¢i&'®
iÏfMj#Ku²MÖe¬xNk±[sÔûyøL4ûT'ÙLÆqÕhÕM¿iSÕ²a±©ÙÕd.7?¯ù©ÿ¤7â&Ò´ñì~²ÇiqÕag Õx¨C8$©»÷VnFÌmÊÁX3U}¦®];ÜÔ&øTÍo@w¬=&éîY~ÿü®íªQOïåÐÐ3}#.0QAz}ÒÒ%]Ìg!\S«çi rv=@yÔÛWtÍõM©ùZÉßSú½ »ÿݹ7ëáê«+ÚTÚÅ{-Þ{ë^§¡^zzÌ´#
ÜãtI½3M9uE,(ÏAô$é:u²g²¤=z=^ªCJÓ}°{@Ï>`va×ñz¢ÿPK3äa¿
p(Ä8 @Ù7;úæÍî¼¼>=£!v-]=}ë0Îb}$ÐôWƤҼMd¨zþà|B eã`^=`æô.¹UVÚØp#YêBMßÛúþÏ®zWQG¤å¯à5ê¸ZÛ9åR¥À¾*ÆåÞÈ TiÊ
r¥àJyÉ EÇ[ªb*°ù}¢ÀpÍ
î§ÅÇ&]4xÁ¼G
Lu@EugâÆaa&qëÊ
&$DLì;¥!e:éÔWsáøPÆ;3übmîéwÚ{~¿¾QÁ
.8ZmFd¬5ïh¢¤chÝþDÌE¨E%½cð>¤JÝØ$G,«ÜÌ&K«ìJÝ!i±rO³io¤C%èö8ÎH.é½tã9ñÔJØâ~XT&#êgÊ=
éýd¸
úÆÆ¡H
|S¡4Ó)5¦Æèð6iUþº0èss«ÿ¬2»ÍíÖZk´ázM_l¦Æ:5¤Ê<°¼\'{Z«Xè'Z%<=äWirT©®Qý-r
¦ÝNê°ñ¨Û÷©zVî.¥z)B%<®EÐo§}æéá±idr15©I
-y¾à*}ßËÔv$ôkîi©N5÷¤¸<äÞ¡p=9Qn(¥ï¾'¢ÿN¼ç ' #
Kp\CFfüDã0:Ø
âfl³ù9Ø@ÝÄ4Ì©ÁÐÉËþG"®`ÙÔÁ°z¾1ÊüÏòç×ÓàY=©·ëûbÀý÷¦?S·èiU@cp
vjÖ²ª´3ÚKí3°¯t@ár,Z5íUò¬a}ÞC_
uz¾±%úr»s¥/1Sp5¶1©¾è¿£ðñÅç"ª¸Í.å±7þ]C#a§¢_vcÍ
¶ò«¾(áý°EÚ2ÝTõÍ
óHÕ·fì¸.$aîw3ÜÆæ
w?PK)2Õ3ý
É×T$W%ÝÖõù@C¡ù²Óz&ÀPK
,Ì
ñ¶âùÎ{º÷x§çGØÆK²ä í`ÙÁ
½&¡>`0:ÝKóHÁÅ<ï
¤¯6:gQ¤ÏÇýî×¥¾Lu¨ÜÁ*È\gª|mÎ
¢ÐÇÉf)evRÛÿä/,ÔwTñÌ$ÙÄjÐ=ûù.gÎîÏËï(â1vÜ PÁ]{ÜØØ¸O¨<ë%=ûPlî~$ötGjmmþ|Ð>R%4»ûGòX±Lºá°û¼>Tj{:ɰÊ(;0ÉXµÚüSä2D2è·:±ò-¶y¥R£"iUAWÙ·ãó*3_D¶wìFa94¾êq)ûFFVSÂæ¾6ÝP¦2ú¤ÂH÷û<bjïø!Û±Î3RðXÛ5TÔ°:áádòI6HSmx¼Téî_¼uGß÷Rf£(LXººÂÖ,í´®>ÑåÙI·Çª+ã÷×3Jüµs
êüýnñ
/Î"'ÑðÜ6QðôWG;Gñð¥WËXû«uyõú[®óÅÿÅðÉ¢gßÈÙ> £M-p·¦,3-o³%~PKVç´Ûº
Mî2[z7nDOíã(dgî´~µÖ å<?#o6)NYÏÒ6Iä¾*µ6VCSp,'ƿݳYIè\N#tOèïåuáûU«üjUtMÔ~¯ñðxAðEW§sì
ÌÈ"Þ6îf.\¹Ðd"Q#ûRR¦NAy5>e<ÃpvÓ/ÿùzÚïÏ/p
3
GÕ®6F¿?uRXf{ÀÇÜW<
ýÞ´òÁ»û2¶}%.Éc¤hî¹ÜàÙ`î(öq4zJ246]¸8¡²Ü°ý1%ÍVÀPJr3:tw¦)PH{Ï
ÕfÂpÝlkú<æâMúBô?ÖZùr"{Ïtâ]%3Ϭt.Néyÿ¶f-©¡¶>C}HÊ%}QkcIKÃÓÀJò|!W/[¹H8[HW¤¿AêUéîq±½FÊðVH
H5GÊØÉeÖÉ.öfÄ¡ «åØþ"7à
~JÙ Â.5ä¨qFï&ÌçÔÐk'¢àj
>¯ù ß#}>tÖ"Çÿz`ôL¦mÁË&hc~$Î((°¼HòzÌI NÇññqjêÙVzáCiÞaÌÇ8õ{«Ó¥·zV~+å.çO\ãÏ
èË=ã[Ë
<î
ìí¿ì
8Ù4M5³íÝn7M̲©TOöét2
W¢zù¾ÏÑs¨ìªâÎñ}`%çkkkÌæé*¨ÛTk&TvVasÛ¿@®±4Täù?&åS2)P~ý£ë°Rò+O·køª½N^¨0ÅtÉÁzG®·?ÖÔ
[VÊ_Èi¨Qu%°Pkï$:(Ð74ºU(Ý
Ê®)ÔµiN£ñh· ÊyRëm%©ïôû«QÏSý3foQÒùêcLQ\~f2îHeV
ãÏÓ+T¯û±½AoçfìÐ7J¶ÕH:ZR,XD÷NH
ÌU§
,Ì
|
|
From: Marc B. <big...@us...> - 2002-08-22 20:07:11
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils
In directory usw-pr-cvs1:/tmp/cvs-serv21727/dev/src/net/sourceforge/idrs/utils
Modified Files:
CleanUp.java DB.java RS.java
Log Message:
Synced development
Index: CleanUp.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/CleanUp.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CleanUp.java 6 Nov 2001 23:03:14 -0000 1.1
--- CleanUp.java 22 Aug 2002 20:06:37 -0000 1.2
***************
*** 11,19 ****
}
! protected void reset() {
statements.clear();
}
! protected void regStatement(Statement s) throws Exception {
statements.add(s);
}
--- 11,19 ----
}
! public void reset() {
statements.clear();
}
! public void regStatement(Statement s) throws Exception {
statements.add(s);
}
Index: DB.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/DB.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** DB.java 5 Apr 2002 14:37:52 -0000 1.7
--- DB.java 22 Aug 2002 20:06:37 -0000 1.8
***************
*** 360,363 ****
--- 360,364 ----
*/
public void procMethod(ObjectStore obj,String method,String[] vals,IDRSScript idrs) throws Exception {
+ System.out.println("In procmethod");
Object[] finalVals = new Object[vals.length];
Class[] clss = obj.getMethodTypes(method);
***************
*** 374,391 ****
for (i=0;i<vals.length;i++) {
cls = clss[i];
-
-
-
-
val1 = ObjectStore.getValue(cls,vals[i],this.con,idrs);
-
cls = val1.getClass();
-
finalVals[i] = val1;
-
-
-
}
if (direction == DB.OUTPUT) {
rs = (ResultSet) obj.execMethod(method,finalVals);
--- 375,384 ----
for (i=0;i<vals.length;i++) {
cls = clss[i];
val1 = ObjectStore.getValue(cls,vals[i],this.con,idrs);
cls = val1.getClass();
finalVals[i] = val1;
}
if (direction == DB.OUTPUT) {
+ System.out.println("executing method");
rs = (ResultSet) obj.execMethod(method,finalVals);
Index: RS.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/RS.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RS.java 18 Sep 2001 03:18:57 -0000 1.3
--- RS.java 22 Aug 2002 20:06:37 -0000 1.4
***************
*** 673,676 ****
--- 673,711 ----
return null;
}
+
+ public java.net.URL getURL(int param) throws java.sql.SQLException {
+ return null;
+ }
+
+ public java.net.URL getURL(String str) throws java.sql.SQLException {
+ return null;
+ }
+
+ public void updateArray(int param, java.sql.Array array) throws java.sql.SQLException {
+
+ }
+
+ public void updateArray(String str, java.sql.Array array) throws java.sql.SQLException {
+
+ }
+
+ public void updateBlob(int param, java.sql.Blob blob) throws java.sql.SQLException {
+ }
+
+ public void updateBlob(String str, java.sql.Blob blob) throws java.sql.SQLException {
+ }
+
+ public void updateClob(String str, java.sql.Clob clob) throws java.sql.SQLException {
+ }
+
+ public void updateClob(int param, java.sql.Clob clob) throws java.sql.SQLException {
+ }
+
+ public void updateRef(String str, java.sql.Ref ref) throws java.sql.SQLException {
+ }
+
+ public void updateRef(int param, java.sql.Ref ref) throws java.sql.SQLException {
+ }
+
}
|