Hi, Josef. I'm glad you solved your problem and I'm glad it was that easy.
If you want to back you your archive, I'd suggest backing up the server-side archives directory instead of just backing up the latest version of all files using some sort of client-side script. There are probably lots of tools you can use to do automated backups of files on a server. I use a simple application I developed called SyncJammer. It's available under sourceforge at http://syncjamer.sourceforge.net. It's pretty easy to install, set up and use. You're right that I need to do a better job documenting the SJ Ant stuff. This tool has been around for two years and still no decent documentation. If you want to use the SJ Get Project Ant task, here's what you do: 1) Download and install the latest version of Ant. 2) Create a script file (I call mine sjant.bat, or whatever). Make the sjant script do something like this: setlocal set CLASSPATH=%CLASSPATH%;%SJ_HOME%\bin\sj_ant.jar;%SJ_HOME%\bin\sj_lib.jar;%SJ_HOME%\bin\sj_client.jar;%SJ_HOME%\bin\xerces.jar;%SJ_HOME%\bin\activation.jar;%SJ_HOME%\bin\mail.jar;%SJ_HOME%\bin\soap.jar set JAVA_HOME=C:\j2sdk1.4.0 ant %1 -buildfile %2 %3 . . . where SJ_HOME is your SJ client's install directory. 3) Create an ant script. Here's a simple example using the sjgetlabel task: <project name="SourceJammer GetLabel Ant Task" default="main" basedir="."> <target name="init"> <taskdef name="sjgetlabel" classname="org.sourcejammer.client.ant.SJGetLabel"/> </target> <target name="fetchLib13" depends="init"> <sjgetlabel archive="SourceJammer" serverurl="http://dev.sourcejammer.org/servlet/rpcrouter" destinationpath="c:\dev\sourcejammer\build\testGetLabel" labelPath="/ver1.3/sourcejammerl/sj-lib-1.3.xml" userid="anon" password="anon" makedirectories="yes" configpath="C:\SourceJammer\conf" eolType="CRLF" > </sjgetlabel> </target> </project> Now here's an exmaple that uses sjgetproject: <project name="SourceJammer GetLabel Ant Task" default="main" basedir="."> <target name="init"> <taskdef name="sjgetproject" classname="org.sourcejammer.client.ant.SJGetProject"/> </target> <target name="fetchLib13" depends="init"> <sjgetproject archive="SourceJammer" serverurl="http://dev.sourcejammer.org/servlet/rpcrouter" destinationpath="c:\dev\sourcejammer\build\testGetProject" projectpath="/current/ver2.1/src" verifycheckin="yes" configPath="C:\SourceJammer\conf" userid="anon" password="anon" > </target> </project> You can read more about what you can do with Ant (and the Ant syntax) if you go to the Apache Ant website. --Rob --- "Josef Gattermayer [Pepus]" <[EMAIL PROTECTED]> wrote: > Hi Rob, > sorry for my stupidity, option 1 was the problem. > To be 100% satisfy I need just one more thing - periodically backup all > projects to get-like file structure (like when I click on GET folder). You > spoke about some ANT script in the mailing list, I have the source of it, > but have no dammed idea how does it work. Dont you plan to write some short > howto for java lammers (like me)? Or is there any other way to solve the > problem? > > Thank you for your time, > Josef > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ SourceJammer-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sourcejammer-users