Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jersey-on-glassfish.xml ant script fails due to missing example #308

Closed
jerseyrobot opened this issue Jan 29, 2008 · 6 comments
Closed

jersey-on-glassfish.xml ant script fails due to missing example #308

jerseyrobot opened this issue Jan 29, 2008 · 6 comments

Comments

@jerseyrobot
Copy link
Contributor

If you run the script after replacing one of the examples, the script will fail.
The output in such case will be something like:

-cuthere-
Buildfile: jersey-on-glassfish.xml

install:
[mkdir] Created dir:
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey
[mkdir] Created dir:
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/lib
[copy] Copying 15 files to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/lib
[copy] Copying 358 files to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/docs
[mkdir] Created dir:
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples
[copy] Copying 38 files to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/Bookmark
[copy] Copied 33 empty directories to 3 empty directories under
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/Bookmark
[move] Moving 1 file to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/Bookmark/nbproject
[copy] Copying 26 files to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/Bookstore
[move] Moving 1 file to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/Bookstore/nbproject
[copy] Copying 16 files to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/EntityProvider
[move] Moving 1 file to
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/gf-home/jersey/examples/EntityProvider/nbproject

BUILD FAILED
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/jersey-on-glassfish.xml:103:
The following error occurred while executing this line:
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/jersey-on-glassfish.xml:43:
/export/home/japod/NetBeansProjects/test/jersey-0.5-ea/examples/GlassfishDB not
found.

Total time: 1 second
-cuthere-

We need to make the script "missing examples tolerant"

Available workaround for the moment is described at:
http://www.rekk.de/bloggy/?p=40

Environment

Operating System: All
Platform: Sun

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
Reported by @japod

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
japod@java.net said:
The script works fine at the moment (the GlassfishDB example commented out)
I need to add a check to the copy-example and update-nb-prop macros.

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
japod@java.net said:
fixed in the main trunk (r864)

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
Marked as fixed on Wednesday, March 12th 2008, 2:43:23 am

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JERSEY-36

@jerseyrobot
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant