Hello, i'm a newbie in nant, and i have some problems.
I used Ant in Eclipse, and i have some code i know it's working with
eclipse.
An example:
<target name="ftp_put" description="Put files on server">
<ftp
action="put"
server="${ap1}"
userid="${username}"
password="${password}"
remotedir="${ap_backup_dir}"
passive="no"
ignoreNoncriticalErrors="No"
skipFailedTransfers="false">
<fileset dir="C:\DEV\tmp_upload_files">
<include name="**/**"/>
</fileset>
</ftp>
</target>
This code works, but i added a library > commons-net-1.4.1-2005-12-03.jar.
I would like to use NAnt under Visual Studio 2005, but the code above
doesn't work. I'm looking for a library, like a net-commons, but i don't
find.
Does such a library exist?
The last point, with this part of code:
<copy todir="C:\pics2">
<fileset dir="C:\pics1"> Unexpected ttribute dir
<exclude name="**/*.java"/>
</fileset>
</copy>
It works with eclipse. But with VS2005, i have an error:
Unexpected attribute "dir" on element <fileset>.
I don't know what i have to do.
Thank you for your help.
David
--
View this message in context:
http://www.nabble.com/fileset-and-FTP-library-tp15001986p15001986.html
Sent from the NAnt - Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users