Hi,
I'm just starting again, rebuilding my dev environment for JSPWiki. I'm
running Eclipse JEE version 2018-09 with Java 8 (Oracle 1.8.0_172).
I imported the entire 'develop' tree off of the GIT repository, and found
23 compile errors (actually 4 unique), namely:
att cannot be resolved in AttachmentTab.jsp
BASE_URL cannot be resolved or is not a field in Install.jsp
searchref cannot be resolved in AJAXSearch.jsp
web.xml is missing and <failOnMissingWebXml> is set to true
in pom.xml
My questions are:
1. should I be developing (adding plugins, etc.) in the 'develop' branch,
or somewhere else? I didn't see a 2.10.x branch. I'm assuming we don't
work against 'master' (?). Or should I begin working in a new branch?
2. are the above errors actually in the branch or are they a product of
some error in my configuration? I'm kinda assuming the latter since
I'm guessing we don't normally leave the build broken...
I've set up JDK 1.6 as I see the parent POM uses 1.6 but this didn't
have any effect on the above-described compile errors.
3. There's a dev note that states all work should be done against a JIRA
issue. Is this true of greenfield (new plugin) work as well? I.e.,
should I/we be creating a JIRA item for this work?
4. Where can I find any road map info on migration to more current
versions of Java 8, as well as various libraries?
While my plugins aren't (to my memory) version-dependent, I'm working
on several providers, where many of the classes require Java 7's
"try-with-resources" feature and several requires Java 8, e.g., the
ability to refer to interface static methods (this is a requirement
of one of my core dependencies, not my owh code), so this would be my
highest priority (rather than re-write those classes for an EOL'd Java
or abandon the dependency, which would cripple the project).
5. Any other advice on getting set up properly so I don't bork the
build accidentally.
Cheers,
Murray
...........................................................................
Murray Altheim <murray18 at altheim dot com> = = ===
http://www.altheim.com/murray/ === ===
= = ===
In the evening
The rice leaves in the garden
Rustle in the autumn wind
That blows through my reed hut.
-- Minamoto no Tsunenobu