diff --git a/jaxws/build-defs.xml b/jaxws/build-defs.xml index 9a1b4051108..70d59905d2a 100644 --- a/jaxws/build-defs.xml +++ b/jaxws/build-defs.xml @@ -55,9 +55,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + depends="init, -use-drop,-src-help"> diff --git a/jaxws/build-drop-template.xml b/jaxws/build-drop-template.xml index cfccda9eaf7..3e7fc658318 100644 --- a/jaxws/build-drop-template.xml +++ b/jaxws/build-drop-template.xml @@ -75,6 +75,7 @@ + diff --git a/jaxws/build.properties b/jaxws/build.properties index 7c4528cb96e..14abe6b144a 100644 --- a/jaxws/build.properties +++ b/jaxws/build.properties @@ -104,4 +104,24 @@ sanity.info= Sanity Settings:${line.separator}\ drops.dir=${drops.dir}${line.separator}\ ${line.separator} +# Failure messages when source cannot be found on the file system +failed.nourl.src.message=\ +ERROR: Cannot find source for project ${ant.project.name}.\ +${line.separator}${line.separator}\ +HINT: Try setting drops.dir to indicate where the bundles can be found, \ +or try setting the ant property allow.downloads=true to download the bundle from the URL.\ +${line.separator}\ +e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \ +${line.separator} + +# Failure message when source cannot be downloaded +failed.url.src.message=\ +ERROR: Cannot find source for project ${ant.project.name}.\ +${line.separator}${line.separator}\ +HINT: Try setting drops.dir to indicate where the bundles can be found, \ +or try checking the URL with your browser.\ +${line.separator}\ +e.g. ant -Ddrops.dir=some_directory \ +${line.separator} + #------------------------------------------------------------ diff --git a/jaxws/build.xml b/jaxws/build.xml index 6283cbfabe3..c21ae0403d2 100644 --- a/jaxws/build.xml +++ b/jaxws/build.xml @@ -36,6 +36,11 @@ javac.debug - true or false for debug classfiles javac.target - classfile version target javac.source - source version + drops.dir - directory that holds source drop bundles + allow.download - permit downloads from public url (default is false) + (used if bundles not found in drops.dir) + + Run 'make help' for help using the Makefile. @@ -106,13 +111,17 @@ - + + depends="compile, -build-setup"> + + +