*/
public String deployBundelFile(IProject resource){
Project project=new Project();
project.setName(resource.getName());
project.setBasedir(resource.getLocation().toString());
Copy copy=new Copy();
copy.setOverwrite(true);
copy.setProject(project);
Manifest manifest = getManifest(resource);
String bundelName=genarateFullName(manifest).toString();
File bundelFile=new File(bundelName);
if(!bundelFile.exists()){
bundelFile.mkdirs();
}
Console.println("Bublish Project "+resource.getName()+" As Bundel To : "+bundelFile);
copy.setTodir(bundelFile);
//FileSet
FileSet fileSet=getFileSet(project,resource);
fileSet.setDir(project.getBaseDir());
copy.addFileset(fileSet);
//class
FileSet classSet=new FileSet();
String outPut=BuiderParameter.getProjectOutput(resource);
File baseDir=new File(project.getBaseDir(),outPut);
//���Ƶ�����Ŀ¼
classSet.setDir(baseDir);
classSet.setIncludes("**/*.*");
copy.addFileset(classSet);
copy.execute();
return bundelName;
}