Transfert FTP serveurs UNIX
Bonjour,
Voilà, je souhaite pouvoir envoyer un répertoire d'un serveur à un autre. Mon script ant se trouve sur l'un de ces serveurs et je voudrais rapatrier des donnés du 2eme.
Voici le code que j'utilise pour l'instant, il est basique :
Code:
1 2 3 4 5 6 7 8
|
<target name="copie" >
<ftp action="get" server="${cvs.server}" userid="${cvs.login}" password="${cvs.password}" remotedir="${cvs.racine}" >
<fileset dir="/apps/webservers/CT_Config/Interface_temp">
<include name="**/*.*"/>
</fileset>
</ftp>
</target> |
Pourtant, quand je lance mon target ant, voici ce que j'obtiens :
$ ant
Buildfile: build.xml
copie:
[ftp] getting files
BUILD FAILED
java.lang.Error: Unresolved compilation problems:
The import org.apache.oro cannot be resolved
The import org.apache.oro cannot be resolved
The import org.apache.oro cannot be resolved
The import org.apache.oro cannot be resolved
The import org.apache.oro cannot be resolved
The import org.apache.oro cannot be resolved
Pattern cannot be resolved (or is not a valid type) for the field RegexFTPFileEntryParserImpl.pattern
MatchResult cannot be resolved (or is not a valid type) for the field RegexFTPFileEntryParserImpl.result
PatternMatcher cannot be resolved (or is not a valid type) for the field RegexFTPFileEntryParserImpl._matcher_
_matcher_ cannot be resolved
Perl5Matcher cannot be resolved or is not a type
pattern cannot be resolved
Perl5Compiler cannot be resolved or is not a type
MalformedPatternException cannot be resolved or is not a type
result cannot be resolved or is not a field
_matcher_ cannot be resolved
pattern cannot be resolved or is not a field
result cannot be resolved or is not a field
_matcher_ cannot be resolved
result cannot be resolved or is not a field
result cannot be resolved or is not a field
result cannot be resolved or is not a field
result cannot be resolved or is not a field
result cannot be resolved or is not a field
result cannot be resolved or is not a field
result cannot be resolved or is not a field
Je ne comprends vraiment pas où se trouve le problème... :cry:
Merci d'avance pour tout réponse