Author: aparfonov
Date: 2011-01-21 11:36:06 -0500 (Fri, 21 Jan 2011)
New Revision: 3830
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/JcrGroovyCompiler.java
Log:
EXOJCR-1164
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/JcrGroovyCompiler.java
===================================================================
---
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/JcrGroovyCompiler.java 2011-01-21
14:29:17 UTC (rev 3829)
+++
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/script/groovy/JcrGroovyCompiler.java 2011-01-21
16:36:06 UTC (rev 3830)
@@ -179,6 +179,17 @@
return classes;
}
+ /**
+ * Get URLs of classes (stored in JCR only) required to compile sources
+ * <code>files</code>. Result array includes URLs of
<code>files</code> plus
+ * URLs of other required sources if they can be found in class-path.
+ *
+ * @param sources additional Groovy source location that should be added in
+ * class-path when analyze <code>files</code>
+ * @param files set of sources for analyzing
+ * @return URLs
+ * @throws IOException if any i/o errors occurs
+ */
public URL[] getDependencies(final SourceFolder[] sources, final SourceFile[] files)
throws IOException
{
try
Show replies by date