Author: thomas.diesler(a)jboss.com
Date: 2010-01-21 16:54:48 -0500 (Thu, 21 Jan 2010)
New Revision: 99784
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/deployers/OSGiNativeCodePolicyDeployer.java
Log:
Add milliseconds to the generated libfile name
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/deployers/OSGiNativeCodePolicyDeployer.java
===================================================================
---
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/deployers/OSGiNativeCodePolicyDeployer.java 2010-01-21
21:52:56 UTC (rev 99783)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/deployers/OSGiNativeCodePolicyDeployer.java 2010-01-21
21:54:48 UTC (rev 99784)
@@ -154,7 +154,7 @@
OSGiBundleManager bundleManager = bundleState.getBundleManager();
BundleStoragePlugin plugin =
bundleManager.getPlugin(BundleStoragePlugin.class);
Date lmdate = new Date(bundleState.getLastModified());
- String timestamp = new
SimpleDateFormat("yyyyMMdd-HHmmss").format(lmdate);
+ String timestamp = new
SimpleDateFormat("yyyyMMdd-HHmmssSSS").format(lmdate);
String uniquePath = new
StringBuffer(libpath).insert(libpath.lastIndexOf("."), timestamp).toString();
return plugin.getDataFile(bundleState, uniquePath);
}
Show replies by date