-
for some reason Jenkins build is failing while we are preparing dependencies:
+ ./scripts/installer-prepare.sh Error: Could not find or load main class %5$s%6$s%n"
same run on the exact same builds works correctly:
jenkins@build:~/jobs/tigase-server-distribution/workspace$ ./scripts/installer-prepare.sh [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Tigase XMPP Server Distribution builder 7.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default-cli) @ tigase-server-dist ---
I'm investigating obscure class name in the Error.
-
Issue with building (above) was caused by an additional entry to MAVEN_OPTS (included in hidden 'advanced options' in the past to fix old jenkins issue for the tigase-server job), and while private-tts jobs did not have it, tigase-server-distribution job carried it from tigase-server because it was created as a copy so when we switched generating distribution building to tigase-server-distribution job it manifested itself.
There were also a couple of issues with scripts responsible for generating the installer. In the end everything is now included:
wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ ls -lah /Applications/Tigase-7.1.0-SNAPSHOT-b4116/jars/ | grep http -rw-r--r-- 1 wojtek admin 102K Dec 17 10:37 jetty-http.jar -rw-r--r-- 1 wojtek admin 255K Dec 17 10:35 tigase-http-api.jar wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ ls -lah /Applications/Tigase-7.1.0-SNAPSHOT-b4116/jars/ | grep javax -rw-r--r-- 1 wojtek admin 94K Dec 17 10:37 javax.servlet-api.jar wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ ls -lah /Applications/Tigase-7.1.0-SNAPSHOT-b4116/docs/ total 0 drwxr-xr-x 7 wojtek admin 238B Dec 17 10:43 . drwxr-xr-x 16 wojtek admin 544B Dec 17 10:43 .. drwxr-xr-x 7 wojtek admin 238B Dec 17 10:43 Administration_Guide drwxr-xr-x 7 wojtek admin 238B Dec 17 10:43 Development_Guide drwxr-xr-x 7 wojtek admin 238B Dec 17 10:43 Properties_Guide drwxr-xr-x 7 wojtek admin 238B Dec 17 10:43 User_Guide drwxr-xr-x 18 wojtek admin 612B Dec 17 10:43 javadoc
There was also issue with docs missing from regular archives (because of name change along the way) so it's also corrected:
wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ ls -lah tigase-issue #7.1.0-SNAPSHOT-b4116/docs/ total 0 drwxr-xr-x 7 wojtek staff 238B Dec 17 11:14 . drwxr-xr-x 15 wojtek staff 510B Dec 17 11:15 .. drwxr-xr-x 4 wojtek staff 136B Dec 17 11:15 Administration_Guide drwxr-xr-x 4 wojtek staff 136B Dec 17 11:15 Development_Guide drwxr-xr-x 4 wojtek staff 136B Dec 17 11:14 Properties_Guide drwxr-xr-x 4 wojtek staff 136B Dec 17 11:15 User_Guide drwxr-xr-x 18 wojtek staff 612B Dec 17 11:15 javadoc
-
Daniel Wisnewski wrote:
The documentation name change was done ages ago, I wonder why it waited until now to have an error? Good catch!
It didn't error-out - I noticed that archives were smaller than installation packages and it turned out docs (they are huge) were missing :-)
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3764
|
Spent time |
0
|
Exe and jar installers are missing necessary jar files, even if HTTP component is selected. Dist-max has all necessary files. File list is attached.
FileList.jpg