Folks,

I found the attachment porter but don’t know how to invoke it.  I am reading 
and re-reading the page about it, the page that has the download button.  But 
nowhere does it say how to use it.   

Now, I apologize sincerely for the dumb question.   But I am getting an error 
for every one of 15 or so import lines!   It -must- be necessary to set some 
CLASSPATH or something or specify some JARs on the groovy commandline or 
-some-thing.... it seems like there -must- be something here that everyone 
thinks is so obvious that it goes without saying...

Could someone please take pity on me and send me their command line that they 
used to run this sucker?

Thank You!!!!!!!!!!!!!!!!!!!!!
-----------------------
[root@dwswiki10 xwiki]# groovy p.groovy
/bin/build-classpath: Could not find ../../jvm/java/lib Java extension for this 
JVM
/bin/build-classpath: error: Some specified jars were not found
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/data/xwiki/p.groovy: 6: unable to resolve class 
com.xpn.xwiki.store.XWikiAttachmentStoreInterface
 @ line 6, column 1.
   import com.xpn.xwiki.store.XWikiAttachmentStoreInterface;
   ^

/data/xwiki/p.groovy: 8: unable to resolve class 
com.xpn.xwiki.store.AttachmentVersioningStore
 @ line 8, column 1.
   import com.xpn.xwiki.store.AttachmentVersioningStore;
   ^

/data/xwiki/p.groovy: 15: unable to resolve class 
org.xwiki.store.filesystem.internal.FilesystemStoreTools
 @ line 15, column 1.
   import org.xwiki.store.filesystem.internal.FilesystemStoreTools;
   ^

/data/xwiki/p.groovy: 12: unable to resolve class com.xpn.xwiki.XWikiContext
 @ line 12, column 1.
   import com.xpn.xwiki.XWikiContext;
   ^

/data/xwiki/p.groovy: 13: unable to resolve class com.xpn.xwiki.XWiki
 @ line 13, column 1.
   import com.xpn.xwiki.XWiki;
   ^

/data/xwiki/p.groovy: 16: unable to resolve class 
org.apache.commons.lang.exception.ExceptionUtils
 @ line 16, column 1.
   import org.apache.commons.lang.exception.ExceptionUtils;
   ^

/data/xwiki/p.groovy: 2: unable to resolve class 
com.xpn.xwiki.doc.XWikiAttachment
 @ line 2, column 1.
   import com.xpn.xwiki.doc.XWikiAttachment;
   ^

/data/xwiki/p.groovy: 4: unable to resolve class 
com.xpn.xwiki.doc.DeletedAttachment
 @ line 4, column 1.
   import com.xpn.xwiki.doc.DeletedAttachment;
   ^

...
...
...
...
...


 

The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.

Reply via email to