eclipse下如何使用ant-design框架
2018-10-20 · 百度知道合伙人官方认证企业
关注
展开全部
package example;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
<?xml version="1.0" encoding="utf-8"?>
<project default="main" basedir=".">
<target name="main" depends="compile, compress" description="Main target">
<echo>Building the .jar file.</echo>
</target>
<target name="compile" description="Compilation target">
<javac srcdir="${basedir}/src/example" />
</target>
<target name="compress" description="Compression target">
<jar jarfile="HelloWorld.jar" basedir="${basedir}/src/example"includes="*.class" />
</target>
</project>
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
<?xml version="1.0" encoding="utf-8"?>
<project default="main" basedir=".">
<target name="main" depends="compile, compress" description="Main target">
<echo>Building the .jar file.</echo>
</target>
<target name="compile" description="Compilation target">
<javac srcdir="${basedir}/src/example" />
</target>
<target name="compress" description="Compression target">
<jar jarfile="HelloWorld.jar" basedir="${basedir}/src/example"includes="*.class" />
</target>
</project>
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询