Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code does not compile - QueueDescription #512

Closed
erickbp opened this issue Aug 31, 2015 · 15 comments
Closed

Code does not compile - QueueDescription #512

erickbp opened this issue Aug 31, 2015 · 15 comments

Comments

@erickbp
Copy link

erickbp commented Aug 31, 2015

Hi,

The code does not compile. Is that expected? one of the issues is that the class QueueDescription does not exist.

Any idea what I am doing wrong?

Thanks

@devigned
Copy link
Member

hmm... that looks like the service bus pom and a few classes were deleted. Perhaps there was a bad merge along the way.

@ljhljh235 I dropped back to the 0.7.0 tag and both media and service bus have pom and full Azure Service Management implementations. Something must have gotten messed up at some point in 0.8.0 release.

@devigned
Copy link
Member

@erickbp the code compiles under maven, but if you add all the source to eclipse or something else that isn't configured to use our poms, then you'd run into this issue. For the time being, if you can, use mvn clean verify.

@jianghaolu
Copy link
Contributor

@erickbp Are you seeing the same errors described in #505?

@erickbp
Copy link
Author

erickbp commented Aug 31, 2015

@devigned Thanks
@ljhljh235 I haven't tried IntelliJ 14. I think I see something similar if I try to open the source code directly into Eclipse.

@erickbp
Copy link
Author

erickbp commented Aug 31, 2015

@devigned when run "mvn clean verify" I get a failure at Microsoft Azure SDK Core Test Helpers

Log : https://onedrive.live.com/redir?resid=8C9AD83EBE369265!12592&authkey=!ADGNFfONEb2nymw&ithint=file%2ctxt

@jianghaolu
Copy link
Contributor

@erickbp That error means you already have a JVM instance running. Could you double check on that?

That known issue applies to both IntelliJ and Eclipse. For now you will have to build on your command line and then both IntelliJ and Eclipse will understand it well.

@erickbp
Copy link
Author

erickbp commented Aug 31, 2015

@ljhljh235 You are right, I had a JVM instance running.
Does this Azure Java SDK work in Android? It works fine for me in a Java application but I cannot make it work in an Android application.
Thanks

@jianghaolu
Copy link
Contributor

@erickbp We have a repo https://github.com/azure/azure-sdk-for-android for Android but it's extremely old. It's great if what you need is in there but if not we are in the process of rewriting the whole Java SDK and the new one will be supported on Android.

@erickbp
Copy link
Author

erickbp commented Aug 31, 2015

@ljhljh235 thank you! can you please check the link? I get 404

@erickbp erickbp closed this as completed Aug 31, 2015
@erickbp erickbp reopened this Aug 31, 2015
@jianghaolu
Copy link
Contributor

Ahh I just realized it's a private repository. That means at that time we didn't even decide to let it go public! Then we would have to wait until the new SDK comes out.

@devigned
Copy link
Member

devigned commented Sep 1, 2015

@erickbp can you provide a repro for how you are trying to compile and the errors you are receiving?

@erickbp
Copy link
Author

erickbp commented Sep 1, 2015

@devigned "mvn clean verify" was not 100% successful in 2 different PCs I tried.
PC 1:

  • I had an Android VM ( KitKat ) running
  • Java SDK 1.8
  • Windows 10 Enterprise,

PC 2:

  • Java SDK 1.7
  • Windows 10 Pro

In both PC "mvn compile" worked fine, only "mvn clean verify" didn't work.

Thanks

@devigned
Copy link
Member

devigned commented Sep 1, 2015

Please provide the error output from the mvn clean verify.

@erickbp
Copy link
Author

erickbp commented Sep 1, 2015

It is in the link above. or do you refer to a different error log?

@martinsawicki
Copy link

the service bus client library is not in this repo anymore, so if this is still an issue, it should go there:
https://github.com/azure/azure-service-bus-java

@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants