Hi,
I'm working with Ant to empty a MarkLogic database and load a large amount of 
XML files (~70 000 files for ~3 ko each) on this empty one.
Now, I'm using RecordLoad, I'm reading the tutorial, try some command from 
windows' cmd and so on.
My problem is with this command (the first I've try):
C:\Tools\RecordLoader>java -cp recordloader.jar;xcc.jar;xpp3-1.1.4c.jar 
-DID_NAME=#FILENAME -DCONNECTION_STRING=xcc://<mystringconnection>:9041/MyDB 
com.marklogic.ps.RecordLoader
I just wanted to see if it works (and it works)
Then, I put this in Ant :
<java classname="com.marklogic.ps.RecordLoader" 
classpath="${RecordLoaderClasspath}">            <arg 
line="-DID_NAME=#FILENAME"/>            <arg 
line="-DCONNECTION_STRING=${marklogic.server}"/></java>
I start my ant command : ant -f exportMLSQL recordTest
Then I can see that it's skipping my option ID_NAME and CONNECTION_STRING ! Why 
? I've try with "value" instead of "line" same error.
There is Exception too :[java] com.marklogic.recordloader.FatalException: input 
files specified, but none found .
I didn't see any INPUT_FILE(S) in the RecordLoader README.
Am I doing it wrong ? It's maybe another Trainee's Fail ! :) 
Other question is there an other/better solution to access a MarkLogic database 
with Ant ?                                        
Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège 
gratuitement                                      
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to