summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-08-21 11:27:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-13 21:04:01 +0100
commit1e8482db2d8b0b19fac88673384c227047a862b1 (patch)
tree434c980b51a3e988f09cf82bc4ab1d4db2bbc50e /xmlsecurity
parent6b5523d1d7c237883b3a87b6c8d7389a4795314d (diff)
Resolves: #i120635# Removed httpserv.jar and changed its dist directory
(cherry picked from commit efc6346ef6a3a9b618979230036d877149ce0d7d) Change-Id: I983b106ef46bd9b95f6ef12d3c2432d604dd08a8
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/test_docs/tools/README.txt5
-rw-r--r--xmlsecurity/test_docs/tools/httpserv/build.xml5
-rwxr-xr-xxmlsecurity/test_docs/tools/httpserv/dist/README.TXT33
-rwxr-xr-xxmlsecurity/test_docs/tools/httpserv/dist/httpserv.jarbin6994 -> 0 bytes
-rw-r--r--xmlsecurity/test_docs/tools/httpserv/nbproject/project.properties2
5 files changed, 9 insertions, 36 deletions
diff --git a/xmlsecurity/test_docs/tools/README.txt b/xmlsecurity/test_docs/tools/README.txt
index dd1431b7cf64..159d2c037c06 100644
--- a/xmlsecurity/test_docs/tools/README.txt
+++ b/xmlsecurity/test_docs/tools/README.txt
@@ -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
diff --git a/xmlsecurity/test_docs/tools/httpserv/build.xml b/xmlsecurity/test_docs/tools/httpserv/build.xml
index 831e963bce65..aacabc802851 100644
--- a/xmlsecurity/test_docs/tools/httpserv/build.xml
+++ b/xmlsecurity/test_docs/tools/httpserv/build.xml
@@ -71,4 +71,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>
diff --git a/xmlsecurity/test_docs/tools/httpserv/dist/README.TXT b/xmlsecurity/test_docs/tools/httpserv/dist/README.TXT
deleted file mode 100755
index 28db189bb94d..000000000000
--- a/xmlsecurity/test_docs/tools/httpserv/dist/README.TXT
+++ /dev/null
@@ -1,33 +0,0 @@
-========================
-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.
diff --git a/xmlsecurity/test_docs/tools/httpserv/dist/httpserv.jar b/xmlsecurity/test_docs/tools/httpserv/dist/httpserv.jar
deleted file mode 100755
index b80b60978dc0..000000000000
--- a/xmlsecurity/test_docs/tools/httpserv/dist/httpserv.jar
+++ /dev/null
Binary files differ
diff --git a/xmlsecurity/test_docs/tools/httpserv/nbproject/project.properties b/xmlsecurity/test_docs/tools/httpserv/nbproject/project.properties
index 049b5539fda3..a0ec60ac7cb0 100644
--- a/xmlsecurity/test_docs/tools/httpserv/nbproject/project.properties
+++ b/xmlsecurity/test_docs/tools/httpserv/nbproject/project.properties
@@ -18,7 +18,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=