Kaydet (Commit) efc6346e authored tarafından Andre Fischer's avatar Andre Fischer

#i120635# Removed httpserv.jar and changed its dist directory.

üst 8f768dd6
......@@ -11,8 +11,9 @@ java -jar httpserv/dist/httpserv.jar --accept portnumber
portnumber: an arbitrary port number to which the server should listen.
httpserv looks for the requested file relativ to the current directory. For
example, you are in a directory which contains the index.html. From there
you run httpserv.jar:
example, you are in
$(SRC_ROOT)/xmlsecurity/$(INPATH)/httpserv/dist/javadoc,
a directory which contains the index.html. From there you run httpserv.jar:
java -jar <path_to_wherever_it_is>/httpserv.jar --accept 8000
......
......@@ -91,4 +91,9 @@
nbproject/build-impl.xml file.
-->
<!-- Import the environment as properties to make them available in project.properties
-->
<target name="-pre-init">
<property environment="env" />
</target>
</project>
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "httpserv.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, none of the
classpath elements are copied to the lib folder. In such a case,
you need to copy the classpath elements to the lib folder manually after the build.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
......@@ -39,7 +39,7 @@ debug.classpath=\
debug.test.classpath=\
${run.test.classpath}
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.dir=../../../${env.INPATH}/misc/httpserv
dist.jar=${dist.dir}/httpserv.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment