You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2008/01/31 17:43:36 UTC
svn commit: r617157 - in
/harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site:
index.html site.xml
Author: gshimansky
Date: Thu Jan 31 08:43:33 2008
New Revision: 617157
URL: http://svn.apache.org/viewvc?rev=617157&view=rev
Log:
Set svn:eol-style to native for two files
Modified:
harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html (contents, props changed)
harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml (contents, props changed)
Modified: harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html?rev=617157&r1=617156&r2=617157&view=diff
==============================================================================
--- harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html (original)
+++ harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html Thu Jan 31 08:43:33 2008
@@ -1,60 +1,60 @@
-<html>
-<head>
-<title>org.apache.harmony.eclipse.site</title>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<style>@import url("web/site.css");</style>
-<script type="text/javascript">
- var returnval = 0;
- var stylesheet, xmlFile, cache, doc;
- function init(){
- // NSCP 7.1+ / Mozilla 1.4.1+ / Safari
- // Use the standard DOM Level 2 technique, if it is supported
- if (document.implementation && document.implementation.createDocument) {
- xmlFile = document.implementation.createDocument("", "", null);
- stylesheet = document.implementation.createDocument("", "", null);
- if (xmlFile.load){
- xmlFile.load("site.xml");
- stylesheet.load("web/site.xsl");
- } else {
- alert("Document could not be loaded by browser.");
- }
- xmlFile.addEventListener("load", transform, false);
- stylesheet.addEventListener("load", transform, false);
- }
- //IE 6.0+ solution
- else if (window.ActiveXObject) {
- xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
- xmlFile.async = false;
- xmlFile.load("site.xml");
- stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
- stylesheet.async = false;
- stylesheet.load("web/site.xsl");
- cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
- cache.stylesheet = stylesheet;
- transformData();
- }
- }
- // separate transformation function for IE 6.0+
- function transformData(){
- var processor = cache.createProcessor();
- processor.input = xmlFile;
- processor.transform();
- data.innerHTML = processor.output;
- }
- // separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
- function transform(){
- returnval+=1;
- if (returnval==2){
- var processor = new XSLTProcessor();
- processor.importStylesheet(stylesheet);
- doc = processor.transformToDocument(xmlFile);
- document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
- }
- }
-</script>
-</head>
-<body onload="init();">
-<!--[insert static HTML here]-->
-<div id="data"><!-- this is where the transformed data goes --></div>
-</body>
-</html>
+<html>
+<head>
+<title>org.apache.harmony.eclipse.site</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<style>@import url("web/site.css");</style>
+<script type="text/javascript">
+ var returnval = 0;
+ var stylesheet, xmlFile, cache, doc;
+ function init(){
+ // NSCP 7.1+ / Mozilla 1.4.1+ / Safari
+ // Use the standard DOM Level 2 technique, if it is supported
+ if (document.implementation && document.implementation.createDocument) {
+ xmlFile = document.implementation.createDocument("", "", null);
+ stylesheet = document.implementation.createDocument("", "", null);
+ if (xmlFile.load){
+ xmlFile.load("site.xml");
+ stylesheet.load("web/site.xsl");
+ } else {
+ alert("Document could not be loaded by browser.");
+ }
+ xmlFile.addEventListener("load", transform, false);
+ stylesheet.addEventListener("load", transform, false);
+ }
+ //IE 6.0+ solution
+ else if (window.ActiveXObject) {
+ xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
+ xmlFile.async = false;
+ xmlFile.load("site.xml");
+ stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
+ stylesheet.async = false;
+ stylesheet.load("web/site.xsl");
+ cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
+ cache.stylesheet = stylesheet;
+ transformData();
+ }
+ }
+ // separate transformation function for IE 6.0+
+ function transformData(){
+ var processor = cache.createProcessor();
+ processor.input = xmlFile;
+ processor.transform();
+ data.innerHTML = processor.output;
+ }
+ // separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
+ function transform(){
+ returnval+=1;
+ if (returnval==2){
+ var processor = new XSLTProcessor();
+ processor.importStylesheet(stylesheet);
+ doc = processor.transformToDocument(xmlFile);
+ document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
+ }
+ }
+</script>
+</head>
+<body onload="init();">
+<!--[insert static HTML here]-->
+<div id="data"><!-- this is where the transformed data goes --></div>
+</body>
+</html>
Propchange: harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml?rev=617157&r1=617156&r2=617157&view=diff
==============================================================================
--- harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml (original)
+++ harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml Thu Jan 31 08:43:33 2008
@@ -1,14 +1,14 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<site>
- <description url="http://incubator.apache.org/harmony/updates">
- This is the Eclipse update site for the Apache Harmony project.
- </description>
- <feature url="features/org.apache.harmony.eclipse.jdt.launching.feature_1.2.0.jar" id="org.apache.harmony.eclipse.jdt.launching.feature" version="1.2">
- <category name="VM Install Types"/>
- </feature>
- <category-def name="VM Install Types" label="VM Install Types">
- <description>
- Support for non-standard JRE layouts.
- </description>
- </category-def>
-</site>
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description url="http://incubator.apache.org/harmony/updates">
+ This is the Eclipse update site for the Apache Harmony project.
+ </description>
+ <feature url="features/org.apache.harmony.eclipse.jdt.launching.feature_1.2.0.jar" id="org.apache.harmony.eclipse.jdt.launching.feature" version="1.2">
+ <category name="VM Install Types"/>
+ </feature>
+ <category-def name="VM Install Types" label="VM Install Types">
+ <description>
+ Support for non-standard JRE layouts.
+ </description>
+ </category-def>
+</site>
Propchange: harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native