Author: keith
Date: Fri Jan 25 21:13:05 2008
New Revision: 12943

Log:

Creating _private in the resources directory upon deployment



Modified:
   
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java

Modified: 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
==============================================================================
--- 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   (original)
+++ 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   Fri Jan 25 21:13:05 2008
@@ -292,6 +292,10 @@
             File parentDir = file.getParentFile();
             File resourcesDir = new File(parentDir, shortFileName + 
".resources");
             resourcesDir.mkdir();
+
+            // creating _private folder in the resources folder to keep 
private stuff
+            File privatedir = new File(resourcesDir, 
MashupConstants.MASHUP_PRIVATE_FOLDER_NAME);
+            privatedir.mkdir();
             // Add a reference to the resources folder, as this is quite 
usefull in the runtime
             Parameter resourceFolderParameter = new Parameter(
                     JavaScriptEngineConstants.RESOURCES_FOLDER, resourcesDir);

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to