CS计算机代考程序代写 Java ant META-INF/MANIFEST.MF

META-INF/MANIFEST.MF

org/netbeans/modules/java/j2seproject/copylibstask/Bundle.properties

org/netbeans/modules/java/j2seproject/copylibstask/CopyFiles.class

org/netbeans/modules/java/j2seproject/copylibstask/CopyLibs.class

org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.2
Created-By: 1.7.0_67-b01 (Oracle Corporation)
NetBeans-Own-Library: true

# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
#
# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
# Other names may be trademarks of their respective owners.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only (“GPL”) or the Common
# Development and Distribution License(“CDDL”) (collectively, the
# “License”). You may not use this file except in compliance with the
# License. You can obtain a copy of the License at
# http://www.netbeans.org/cddl-gplv2.html
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
# specific language governing permissions and limitations under the
# License. When distributing the software, include this License Header
# Notice in each file and include the License file at
# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
# particular file as subject to the “Classpath” exception as provided
# by Oracle in the GPL Version 2 section of the License file that
# accompanied this code. If applicable, add the following below the
# License Header, with the fields enclosed by brackets [] replaced by
# your own identifying information:
# “Portions Copyrighted [year] [name of copyright owner]”
#
# Contributor(s):
#
# The Original Software is NetBeans. The Initial Developer of the Original
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
# Microsystems, Inc. All Rights Reserved.
#
# If you wish your version of this file to be governed by only the CDDL
# or only the GPL Version 2, indicate your decision by adding
# “[Contributor] elects to include this software in this distribution
# under the [CDDL or GPL Version 2] license.” If you do not indicate a
# single choice of license, a recipient has the option to distribute
# your version of this file under either the CDDL, the GPL Version 2 or
# to extend the choice of license to its licensees as provided above.
# However, if you add GPL Version 2 code and therefore, elected the GPL
# Version 2 license, then the option applies only if the new code is
# made subject to such option by the copyright holder.

TXT_README_FILE_NAME=README.TXT
TXT_README_FILE_CONTENT=========================\n\
BUILD OUTPUT DESCRIPTION\n\
========================\n\
\n\
When you build an Java application project that has a main class, the IDE\n\
automatically copies all of the JAR\n\
files on the project’s classpath to your project’s dist/lib folder. The IDE\n\
also adds each of the JAR files to the Class-Path element in the application\n\
JAR file’s manifest file (MANIFEST.MF).\n\
\n\
To run the project from the command line, go to the dist folder and\n\
type the following:\n\
\n\
java -jar ‘”{0}'” \n\
\n\
To distribute this project, zip up the dist folder (including the lib folder)\n\
and distribute the ZIP file.\n\
\n\
Notes:\n\
\n\
* If two JAR files on the project classpath have the same name, only the first\n\
JAR file is copied to the lib folder.\n\
* Only JAR files are copied to the lib folder.\n\
If the classpath contains other types of files or folders, these files (folders)\n\
are not copied.\n\
* If a library on the project’s classpath also has a Class-Path element\n\
specified in the manifest,the content of the Class-Path element has to be on\n\
the project’s runtime path.\n\
* To set a main class in a standard Java project, right-click the project node\n\
in the Projects window and choose Properties. Then click Run and enter the\n\
class name in the Main Class field. Alternatively, you can manually type the\n\
class name in the manifest Main-Class element.

CopyFiles

package org.netbeans.modules.java.j2seproject.copylibstask;
public synchronized class CopyFiles extends org.apache.tools.ant.Task {
private java.io.File todir;
private java.io.File iftldtodir;
private String files;
private String manifestproperty;
public void CopyFiles();
public void execute() throws org.apache.tools.ant.BuildException;
private boolean containsTLD(java.io.File);
public String getFiles();
public void setFiles(String);
public java.io.File getToDir();
public void setToDir(java.io.File);
public java.io.File getIfTLDToDir();
public void setIfTLDToDir(java.io.File);
public String getManifestProperty();
public void setManifestProperty(String);
static void ();
}

CopyLibs

package org.netbeans.modules.java.j2seproject.copylibstask;
public synchronized class CopyLibs extends org.apache.tools.ant.taskdefs.Jar {
private static final String LIB = lib;
private static final String ATTR_CLASS_PATH = Class-Path;
private static final String MANIFEST = META-INF/MANIFEST.MF;
private static final String INDEX = META-INF/INDEX.LIST;
private static final String UTF_8 = UTF-8;
private static final String UTF8 = UTF8;
org.apache.tools.ant.types.Path runtimePath;
org.apache.tools.ant.types.Path excludeFromCopy;
private boolean rebase;
public void CopyLibs();
public void setRuntimeClassPath(org.apache.tools.ant.types.Path);
public org.apache.tools.ant.types.Path getRuntimeClassPath();
public void setExcludeFromCopy(org.apache.tools.ant.types.Path);
public org.apache.tools.ant.types.Path getExcludeFromCopy();
public boolean isRebase();
public void setRebase(boolean);
public void setEncoding(String);
public void execute() throws org.apache.tools.ant.BuildException;
private boolean rebase(java.io.File, java.io.File);
private static boolean isSigned(org.apache.tools.ant.taskdefs.Manifest);
private static void copy(java.io.InputStream, java.io.OutputStream) throws java.io.IOException;
private static boolean isUTF8(String);
static void ();
}