These are chat archives for OfficeDev/ews-java-api

14th
Jan 2015
Walter
@wseme
Jan 14 2015 00:08
need to install maven... i figured that out the hard way also
I got it to build (a PITA) but now I am trying to use the Android module it creates...
Pathikrit Bhowmick
@pathikrit
Jan 14 2015 00:09
Ah ok, so you manually built it and checked it in with rest of your sources... that's seems weird. I wonder why this is not hosted like every other library ....
Walter
@wseme
Jan 14 2015 00:10
idk, I was thinking the same thing. If anything add the jar to the repository. At least then I don't have to build it
only thing that I have been able to get working is the independentsoft library. But I didn't want to pay 299 euros for it
Pathikrit Bhowmick
@pathikrit
Jan 14 2015 00:16
I did mvn package and it built fine and created ews-java-api-1.3-SNAPSHOT.jar but I don't think its the jar i need..
Walter
@wseme
Jan 14 2015 00:17
what do u need?
for me it build an actual android studio module
Pathikrit Bhowmick
@pathikrit
Jan 14 2015 00:19
i just did mvn package in the directory i did git clone. it created that jar in the target directory. i then moved that jar to my lib/ folder where i usually put such one of libraries. but, for some reason, i cant see the package in my IDE's auto suggestion. isn't it com.microsoft.webservices?
Walter
@wseme
Jan 14 2015 00:21
i did that also. But then when I compiled and ran I get a: Caused by: java.lang.NoClassDefFoundError: microsoft.exchange.webservices.data.EwsSSLProtocolSocketFactory
Pathikrit Bhowmick
@pathikrit
Jan 14 2015 00:40
let me try to run it... will let you know
Pathikrit Bhowmick
@pathikrit
Jan 14 2015 01:10
worked fine for me.. i am not on android though... just a vanilla scala app
mnaged to send an email through scala to myself through exchange
but still wish that this damn library was on maven or something
Mike Noordermeer
@MikeN123
Jan 14 2015 07:28
I'm quite sure the library does not work on android.
Apparently you can use it, if you include javax/stax manually: http://stackoverflow.com/questions/9203073/problems-using-the-ews-java-api-on-android
To get a jar you can simply run 'mvn package', the software API is not yet stable enough to warrant an upload of the artifacts, IMHO
Erik van Paassen
@evpaassen
Jan 14 2015 09:30
@wseme There's also an issue ( #66 ) about Android support. No definitive solution though.
Walter
@wseme
Jan 14 2015 15:07
thanks mike, tried that