Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Fixing incorrect comments and DS names #349

Merged
merged 2 commits into from
Aug 12, 2014
Merged

Fixing incorrect comments and DS names #349

merged 2 commits into from
Aug 12, 2014

Conversation

matzew
Copy link
Contributor

@matzew matzew commented Aug 8, 2014

💄

  • small improvements on comment (e.g. incorrect DS and Server names)
  • added MySQL URL escaping for WildFly CLI script, like @mposolda did for the EAP/mysql script

@matzew
Copy link
Contributor Author

matzew commented Aug 8, 2014

🎯 @secondsun @danielpassos @danbev mind to review ?

@secondsun
Copy link
Contributor

So the datasources are created (yay) but I couldn't test that they actually work because the server fails building because drumroll please JAVADOC ERRORS :) (in Java 8 of course.)

Bonus points, jax-doclets isn't maintained anymore (FroMage/jax-doclets#61 (comment)) HOWEVER some guys from marmot patched it and release 0.10.1 which does work in Java 8.

I patched up the pom to use the new version, but it doesn't seem to work. Output

@matzew
Copy link
Contributor Author

matzew commented Aug 8, 2014

use java7 - that's what we, for the server, support.
Alternative way: use the staged WAR files for 1.0.0.beta2

On Fri, Aug 8, 2014 at 10:47 PM, Hoyt Summers Pittman <
[email protected]> wrote:

So the datasources are created (yay) but I couldn't test that they
actually work because the app fails building drumroll please JAVADOC
ERRORS :) Java 8 of course.

Bonus points, jax-doclets isn't maintained anymore (FroMage/jax-doclets#61
(comment)
FroMage/jax-doclets#61 (comment))
HOWEVER some guys from marmot patched it and release 0.10.1 which does work
in Java 8.

I patched up the pom to use the new version, but it doesn't seem to work.
Output https://gist.github.com/secondsun/0bc4ef1563d3e291e2b3


Reply to this email directly or view it on GitHub
#349 (comment)
.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

@abstractj
Copy link
Contributor

Tested locally here with Java 7 and works fine. For Java 8 we're planning to discuss during our meeting today.
I think this PR doesn't not add any issues with doclint, once it was always there.

@secondsun
Copy link
Contributor

@matzew Ok, java 7 things build etc. 👍 Like I said before your changes actually work. Though on wildfly 8.0.0 there is a bug with mysql's connector jar on version 30+ which is fixed in 8.1.0.

@matzew
Copy link
Contributor Author

matzew commented Aug 11, 2014

cool

regarding the mysql. the doc uses mysql-connector-java-5.1.18.jar

On Mon, Aug 11, 2014 at 4:00 PM, Hoyt Summers Pittman <
[email protected]> wrote:

@matzew https://github.com/matzew Ok, java 7 things build etc. [image:
👍] Like I said before your changes actually work. Though on wildfly
8.0.0 there is a bug with mysql's connector jar on version 30+ which is
fixed in 8.1.0.


Reply to this email directly or view it on GitHub
#349 (comment)
.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

@secondsun
Copy link
Contributor

I didn't see a version mentioned in the docs. I only saw it mentioned in
the code. I don't THINK we are including the mysql-connector in the
releases, are we?

Summers Pittman

Phone:404 941 4698
Java is my crack.

On Mon, Aug 11, 2014 at 10:02 AM, Matthias Wessendorf <
[email protected]> wrote:

cool

regarding the mysql. the doc uses mysql-connector-java-5.1.18.jar

On Mon, Aug 11, 2014 at 4:00 PM, Hoyt Summers Pittman <
[email protected]> wrote:

@matzew https://github.com/matzew Ok, java 7 things build etc.
[image:
👍] Like I said before your changes actually work. Though on wildfly
8.0.0 there is a bug with mysql's connector jar on version 30+ which is
fixed in 8.1.0.


Reply to this email directly or view it on GitHub
<
https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783545>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply to this email directly or view it on GitHub
#349 (comment)
.

@matzew
Copy link
Contributor Author

matzew commented Aug 11, 2014

nope - we are not shipping the mysql jar

On Mon, Aug 11, 2014 at 4:20 PM, Hoyt Summers Pittman <
[email protected]> wrote:

I didn't see a version mentioned in the docs. I only saw it mentioned in
the code. I don't THINK we are including the mysql-connector in the
releases, are we?

Summers Pittman

Phone:404 941 4698
Java is my crack.

On Mon, Aug 11, 2014 at 10:02 AM, Matthias Wessendorf <
[email protected]> wrote:

cool

regarding the mysql. the doc uses mysql-connector-java-5.1.18.jar

On Mon, Aug 11, 2014 at 4:00 PM, Hoyt Summers Pittman <
[email protected]> wrote:

@matzew https://github.com/matzew Ok, java 7 things build etc.
[image:
👍] Like I said before your changes actually work. Though on wildfly
8.0.0 there is a bug with mysql's connector jar on version 30+ which
is
fixed in 8.1.0.


Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783545>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply to this email directly or view it on GitHub
<
https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783798>

.


Reply to this email directly or view it on GitHub
#349 (comment)
.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

@secondsun
Copy link
Contributor

Can you link me the doc that references the jar version?
On Aug 11, 2014 10:27 AM, "Matthias Wessendorf" [email protected]
wrote:

nope - we are not shipping the mysql jar

On Mon, Aug 11, 2014 at 4:20 PM, Hoyt Summers Pittman <
[email protected]> wrote:

I didn't see a version mentioned in the docs. I only saw it mentioned in
the code. I don't THINK we are including the mysql-connector in the
releases, are we?

Summers Pittman

Phone:404 941 4698
Java is my crack.

On Mon, Aug 11, 2014 at 10:02 AM, Matthias Wessendorf <
[email protected]> wrote:

cool

regarding the mysql. the doc uses mysql-connector-java-5.1.18.jar

On Mon, Aug 11, 2014 at 4:00 PM, Hoyt Summers Pittman <
[email protected]> wrote:

@matzew https://github.com/matzew Ok, java 7 things build etc.
[image:
👍] Like I said before your changes actually work. Though on
wildfly
8.0.0 there is a bug with mysql's connector jar on version 30+ which
is
fixed in 8.1.0.


Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783545>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783798>

.


Reply to this email directly or view it on GitHub
<
https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51786143>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Reply to this email directly or view it on GitHub
#349 (comment)
.

@matzew
Copy link
Contributor Author

matzew commented Aug 11, 2014

http://staging.aerogear.org/docs/unifiedpush/ups_userguide/server-installation/#_mysql_database_configuration

search for "mvn dependency:copy"

On Mon, Aug 11, 2014 at 5:07 PM, Hoyt Summers Pittman <
[email protected]> wrote:

Can you link me the doc that references the jar version?
On Aug 11, 2014 10:27 AM, "Matthias Wessendorf" [email protected]

wrote:

nope - we are not shipping the mysql jar

On Mon, Aug 11, 2014 at 4:20 PM, Hoyt Summers Pittman <
[email protected]> wrote:

I didn't see a version mentioned in the docs. I only saw it mentioned
in
the code. I don't THINK we are including the mysql-connector in the
releases, are we?

Summers Pittman

Phone:404 941 4698
Java is my crack.

On Mon, Aug 11, 2014 at 10:02 AM, Matthias Wessendorf <
[email protected]> wrote:

cool

regarding the mysql. the doc uses mysql-connector-java-5.1.18.jar

On Mon, Aug 11, 2014 at 4:00 PM, Hoyt Summers Pittman <
[email protected]> wrote:

@matzew https://github.com/matzew Ok, java 7 things build etc.
[image:
👍] Like I said before your changes actually work. Though on
wildfly
8.0.0 there is a bug with mysql's connector jar on version 30+
which
is
fixed in 8.1.0.


Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783545>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51783798>

.


Reply to this email directly or view it on GitHub
<

https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51786143>

.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Reply to this email directly or view it on GitHub
<
https://github.com/aerogear/aerogear-unifiedpush-server/pull/349#issuecomment-51787064>

.


Reply to this email directly or view it on GitHub
#349 (comment)
.

Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

@danielpassos
Copy link
Collaborator

👍 works locally

@danbev
Copy link
Contributor

danbev commented Aug 12, 2014

👍 Tested the cli script for WildFly and it works

@matzew matzew merged commit 9d99b9b into master Aug 12, 2014
@matzew
Copy link
Contributor Author

matzew commented Aug 12, 2014

landed in de4def5

@matzew matzew deleted the datasource-cli-fixes branch August 12, 2014 10:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants