perfsonar-dev - perfsonar: r4740 - in trunk/geant2-java-rrd-ma: . ant conf/axis-1.4
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4740 - in trunk/geant2-java-rrd-ma: . ant conf/axis-1.4
- Date: Mon, 8 Dec 2008 06:11:19 -0500
Author: roman
Date: 2008-12-08 06:11:18 -0500 (Mon, 08 Dec 2008)
New Revision: 4740
Modified:
trunk/geant2-java-rrd-ma/ant/axis-deploy-targets.xml
trunk/geant2-java-rrd-ma/ant/libs-download-targets.xml
trunk/geant2-java-rrd-ma/ant/webapp-package-targets.xml
trunk/geant2-java-rrd-ma/conf/axis-1.4/index.jsp
trunk/geant2-java-rrd-ma/conf/axis-1.4/liveclock.js
trunk/geant2-java-rrd-ma/conf/axis-1.4/welcome.htm
trunk/geant2-java-rrd-ma/pom.xml
Log:
use of web admin libarary version 0.9.1c
Modified: trunk/geant2-java-rrd-ma/ant/axis-deploy-targets.xml
===================================================================
--- trunk/geant2-java-rrd-ma/ant/axis-deploy-targets.xml 2008-12-05
15:14:33 UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/ant/axis-deploy-targets.xml 2008-12-08
11:11:18 UTC (rev 4740)
@@ -47,7 +47,7 @@
<copy
file="${basedir}/lib/repository/nmwg/nmwg/1.0.20080630/nmwg-1.0.20080630.jar"
todir="${service.home}/${deploy.root}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/perfsonar/perfsonar-base/1.0.20080902/perfsonar-base-1.0.20080902.jar"
todir="${service.home}/${deploy.root}/WEB-INF/lib"/>
- <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.6b/perfsonar-web-admin-0.9.6b.jar"
todir="${service.home}/${deploy.root}/WEB-INF/lib"/>
+ <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.1c/perfsonar-web-admin-0.9.1c.jar"
todir="${service.home}/${deploy.root}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/rrdjtool/rrdjtool/1.0/rrdjtool-1.0.jar"
todir="${service.home}/${deploy.root}/WEB-INF/lib"/>
@@ -247,7 +247,7 @@
<copy
file="${basedir}/lib/repository/nmwg/nmwg/1.0.20080630/nmwg-1.0.20080630.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/perfsonar/perfsonar-base/1.0.20080902/perfsonar-base-1.0.20080902.jar"
todir="${tmpdir}/WEB-INF/lib"/>
- <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.6b/perfsonar-web-admin-0.9.6b.jar"
todir="${tmpdir}/WEB-INF/lib"/>
+ <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.1c/perfsonar-web-admin-0.9.1c.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/rrdjtool/rrdjtool/1.0/rrdjtool-1.0.jar"
todir="${tmpdir}/WEB-INF/lib"/>
Modified: trunk/geant2-java-rrd-ma/ant/libs-download-targets.xml
===================================================================
--- trunk/geant2-java-rrd-ma/ant/libs-download-targets.xml 2008-12-05
15:14:33 UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/ant/libs-download-targets.xml 2008-12-08
11:11:18 UTC (rev 4740)
@@ -56,7 +56,7 @@
<dependency groupId="rrdjtool" artifactId="rrdjtool"
version="1.0"/>
<dependency groupId="perfsonar" artifactId="perfsonar-base"
version="1.0.20080902"/>
- <dependency groupId="perfsonar" artifactId="perfsonar-web-admin"
version="0.9.6b"/>
+ <dependency groupId="perfsonar" artifactId="perfsonar-web-admin"
version="0.9.1c"/>
<dependency groupId="nmwg" artifactId="nmwg"
version="1.0.20080630"/>
<dependency groupId="Validation" artifactId="msv"
version="1.0"/>
Modified: trunk/geant2-java-rrd-ma/ant/webapp-package-targets.xml
===================================================================
--- trunk/geant2-java-rrd-ma/ant/webapp-package-targets.xml 2008-12-05
15:14:33 UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/ant/webapp-package-targets.xml 2008-12-08
11:11:18 UTC (rev 4740)
@@ -85,7 +85,7 @@
<copy file="${basedir}/${build}/${jarfilename}-${version}.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/nmwg/nmwg/1.0.20080630/nmwg-1.0.20080630.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/perfsonar/perfsonar-base/1.0.20080902/perfsonar-base-1.0.20080902.jar"
todir="${tmpdir}/WEB-INF/lib"/>
- <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.6b/perfsonar-web-admin-0.9.6b.jar"
todir="${tmpdir}/WEB-INF/lib"/>
+ <copy
file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.9.1c/perfsonar-web-admin-0.9.1c.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<copy
file="${basedir}/lib/repository/rrdjtool/rrdjtool/1.0/rrdjtool-1.0.jar"
todir="${tmpdir}/WEB-INF/lib"/>
<!-- copy conf files -->
Modified: trunk/geant2-java-rrd-ma/conf/axis-1.4/index.jsp
===================================================================
--- trunk/geant2-java-rrd-ma/conf/axis-1.4/index.jsp 2008-12-05 15:14:33
UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/conf/axis-1.4/index.jsp 2008-12-08 11:11:18
UTC (rev 4740)
@@ -1,12 +1,30 @@
<%@ page
import="perfSONARWebAdmin.auxiliary.PerfsonarProperties,perfSONARWebAdmin.auxiliary.PerfsonarPropertiesImpl,perfSONARWebAdmin.auxiliary.PerfsonarProperty,java.io.File,java.io.FileInputStream,java.io.FileOutputStream,java.io.IOException"
%>
+<%!
+ private perfSONARWebAdmin.auxiliary.MyDynProperties prop;
+
+ public void jspInit()
+ {
+ super.jspInit();
+ prop =
perfSONARWebAdmin.auxiliary.MyDynProperties.create(getServletContext().getRealPath("/")
,false);
+ prop.reloadAll();
+ prop.updateClientProperties();
+ }
+
+ public void jspDestroy()
+ {
+ super.jspDestroy();
+ prop.reloadAll();
+ prop.updateClientProperties();
+ }
+%>
<html>
<head>
<title>perfSONAR Service Web Administration page</title>
<link rel="stylesheet" type="text/css" href="main.css"/>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script src="Service_Admin.js"></script>
- <script language="javascript" src="liveclock.js"/>
+ <script src="liveclock.js"></script>
<style type="text/css">
<!--
@@ -51,8 +69,9 @@
-->
</style>
</head>
- <body >
+ <body>
<%
+
java.text.DateFormat dateFormat = new java.text.SimpleDateFormat("EEE
MMM dd HH:mm:ss zzz yyyy");
java.util.Date now= new java.util.Date();
java.util.Date date= dateFormat.parse(now.toString());
@@ -82,19 +101,11 @@
<tr><td id="date">
<script
type="text/javascript">
<!--
- // For Version 4+
browsers, write the appropriate HTML to the
- // page for
the clock, otherwise, attempt to write a static
- // date to the page.
- if (ie4||ns6)
{
- document.write('<span
id="LiveClockIE" style="width:'+mywidth+'px" ></span>'); }
- else if (document.layers) { document.write('<ilayer
bgColor="'+myback_color+'" id="ClockPosNS" visibility="hide"><layer
width="'+mywidth+'" id="LiveClockNS"></layer></ilayer>'); }
- else { old = "true"; show_clock(); }
- show_clock();
+ show_clock();
//-->
</script>
-
</td></tr>
- <tr><td id="serviceName"><%=serviceName %>
<%=serviceVersion%></td></tr>
+ <tr><td id="serviceName"><%=serviceName %>
<%=serviceVersion%></td></tr>
</table>
</td>
</tr>
Modified: trunk/geant2-java-rrd-ma/conf/axis-1.4/liveclock.js
===================================================================
--- trunk/geant2-java-rrd-ma/conf/axis-1.4/liveclock.js 2008-12-05 15:14:33
UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/conf/axis-1.4/liveclock.js 2008-12-08 11:11:18
UTC (rev 4740)
@@ -146,14 +146,16 @@
myclock += '<font style="color:'+myfont_color+';
font-family:'+myfont_face+'; font-size:'+myfont_size+'pt;">';
myclock += Digital.toGMTString();
myclock += '</font>';
-
+
+ document.getElementById("date").innerHTML = myclock
+ //document.write(myclock);
if (old == "true") {
- document.write(myclock);
old = "die";
return;
}
- // Write the clock to the layer:
+ // Write the clock to the layer:
+ /*
if (ns4) {
clockpos = document.ClockPosNS;
liveclock = clockpos.document.LiveClockNS;
@@ -163,7 +165,9 @@
LiveClockIE.innerHTML = myclock;
} else if (ns6){
document.getElementById("LiveClockIE").innerHTML =
myclock;
- }
+ }
+ */
+
if (myupdate != 0) {
setTimeout("show_clock()",ClockUpdate[myupdate]); }
}
Modified: trunk/geant2-java-rrd-ma/conf/axis-1.4/welcome.htm
===================================================================
--- trunk/geant2-java-rrd-ma/conf/axis-1.4/welcome.htm 2008-12-05 15:14:33
UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/conf/axis-1.4/welcome.htm 2008-12-08 11:11:18
UTC (rev 4740)
@@ -3,11 +3,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<title>Untitled Document</title>
- <link rel="stylesheet" type="text/css" href="main.css"/>
+ <link rel="stylesheet" type="text/css" href="main.css"/>
</head>
<body style="background-color: #FFFFFF" >
<div class="centerWindow" >
- <p class="welcometext">Welcome to the perfSONAR service web
admin administration interface</p>
+ <p class="welcometext">Welcome to the perfSONAR service web
admin administration interface</p>
<p class="heading1">
Configuration Settings
</p>
@@ -33,7 +33,7 @@
</p>
</td>
</tr>
- <tr>
+ <tr>
<td >
<p>
@@ -46,7 +46,7 @@
</p>
</td>
</tr>
- <tr>
+ <tr>
<td >
<p>
@@ -59,7 +59,7 @@
</p>
</td>
</tr>
- <tr><td> </td></tr>
+ <tr><td> </td></tr>
<tr>
<td>
<img src="graphics/step_1_bottom.gif"
width="350" height="18">
@@ -103,7 +103,7 @@
<tr>
<td class="configheadinglavender">
<p>
- <a href="eXistAdmin"
target="main">eXist Database Settings</a>
+ <a href="eXistAdmin"
target="main">eXist Database settings</a>
</p>
<p>
@@ -114,19 +114,6 @@
</td>
</tr>
<tr>
- <td class="configheadinglavender">
- <p>
- <a href="MetadataAdmin"
target="main">Metadata Configuration File</a>
- </p>
- <p>
-
- </p>
- <p>
-
- </p>
- </td>
- </tr>
- <tr>
<td>
<img src="graphics/step_2_bottom.gif"
width="350" height="18">
</td>
Modified: trunk/geant2-java-rrd-ma/pom.xml
===================================================================
--- trunk/geant2-java-rrd-ma/pom.xml 2008-12-05 15:14:33 UTC (rev 4739)
+++ trunk/geant2-java-rrd-ma/pom.xml 2008-12-08 11:11:18 UTC (rev 4740)
@@ -144,7 +144,7 @@
<dependency>
<groupId>perfsonar</groupId>
<artifactId>perfsonar-web-admin</artifactId>
- <version>0.9.6b</version>
+ <version>0.9.1c</version>
</dependency>
<dependency>
<groupId>rrdjtool</groupId>
- perfsonar: r4740 - in trunk/geant2-java-rrd-ma: . ant conf/axis-1.4, svnlog, 12/08/2008
Archive powered by MHonArc 2.6.16.