Article View: cn.bbs.comp.lang.java
Article #11943ant executable���⣡
From: С�¡��Ұ���ɽ��ˮ
Date: Mon, 23 Aug 2004 08:24
Date: Mon, 23 Aug 2004 08:24
26 lines
1713 bytes
1713 bytes
Ϊ�����ļ���������б�֤�ļ��Ŀ�ִ�����Բ�����
����û��ʹ��copy task
���������exec taskִ��Ҳ������
<?xml version="1.0" encoding="UTF-8"?>
<project default="copy" basedir=".">
<target name="copy">
<exec executable="cp IC_start.sh .."/>
</target>
</project>
����ʱ�����java.io.IOException:CreateProcess: cp IC_start.sh .. error=2
���os���Ժ�
<?xml version="1.0" encoding="UTF-8"?>
<project default="copy" basedir=".">
<target name="copy">
<exec executable="cp IC_start.sh .." os="linux"/>
</target>
</project>
��ʾbuild successful
�����ڸ�Ŀ¼��ȴ�Ҳ���IC_start.sh
��ָ�̣�лл��
--
��----������ҵ�Ψһ
�������ʹ�����������������Զ֧���㣡����
[m[1;36m�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.108.130.164][m
Technical Details
Message-ID:
<4DjKO4$A8O@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTUShow Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,bd21998712632f13,start X-Google-Attributes: gidf6cb0,public X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU From: nyzjx.bbs@bbs.sjtu.edu.cn (С�¡��Ұ���ɽ��ˮ) Newsgroups: cn.bbs.comp.lang.java Subject: ant executable���⣡ Date: 23 Aug 2004 08:24:17 GMT Organization: ��ˮ˼Դ Message-ID: <4DjKO4$A8O@bbs.sjtu.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1093249156.A