[Yanel-commits] rev 20352 - public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources

michi at wyona.com michi at wyona.com
Sun Nov 26 01:56:46 CET 2006


Author: michi
Date: 2006-11-26 01:56:45 +0100 (Sun, 26 Nov 2006)
New Revision: 20352

Modified:
   public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java
Log:
symbolic link added and log type fixed

Modified: public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java	2006-11-26 00:54:57 UTC (rev 20351)
+++ public/yanel/trunk/src/contributions/resources/wiki/src/java/org/wyona/yanel/impl/resources/WikiResource.java	2006-11-26 00:56:45 UTC (rev 20352)
@@ -260,9 +260,11 @@
             writer.write(content);
             writer.close();
 
+            repository.addSymbolicLink(newPath, new org.wyona.yarep.core.Path(newPath.toString() + ".txt"));
+
             org.wyona.yarep.core.Path introspectionPath = new org.wyona.yarep.core.Path(rp.getPath().getParent() + "/introspection-" + createName + ".xml");
             String introspectionContent = getWikiIntrospection(title, createName);
-            log.error("DEBUG: Writing introspection into repository \"" + repository.getName() + "\" with content:\n" + introspectionContent + "\nto path: " + introspectionPath);
+            log.info("Writing introspection into repository \"" + repository.getName() + "\" with content:\n" + introspectionContent + "\nto path: " + introspectionPath);
             writer = repository.getWriter(introspectionPath);
             writer.write(introspectionContent);
             writer.close();




More information about the Yanel-commits mailing list