eclipse-ee4j / eclipse-ee4j/metro-wsit

minor glitches in installer

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
Component: install ERR: Assignee Priority: Minor Type: Bug
Dominant language
Java
Stars
6
Forks
21
Avg merge
10h 2m
Merged PRs (30d)
1

Description

Did some testing with the enhanced install for Tomcat 6.x
and it behaved well. The following are low priority
suggestions for improvement.

If you execute the wsit-on-tomcat.xml installer without
having the environment variable CATALINA_HOME set, you get
a message about a

Missing or inaccessible $

{env.CATALINA_HOME}

/conf/catalina.properties file

While the user could figure out the problem, it would be better
if the error message said that the environment variable CATALINA_HOME
is not set.

The help message when you are on a system with JDK6
mentions the 'install-api' target to use if you just want
to install the webservices-api.jar into the jre/lib/endorsed dir.
That is good, but the syntax shown is

ant install-api

There should be an 'uninstall-api' target.

and it should be

ant install-api -f wsit-on-tomcat.xml
or
ant install-api -f wsit-on-glassfish.xml
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]

Source: [https://github.com/javaee/metro-wsit/issues/668](https://github.com/javaee/metro-wsit/issues/668)
Author: glassfishrobot

Contributor guide

Open the contributing guide

Research direction

Inspect wsit-on-tomcat.xml and wsit-on-glassfish.xml, starting with the CATALINA_HOME validation and the JDK6 help text for install-api. Verify the installer reports that CATALINA_HOME is unset, documents the file-specific Ant invocation, and provides an uninstall-api target.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.