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

Compiling, Deploying Java Callout via Grunt on windows #19

Open
klevak opened this issue Apr 13, 2016 · 1 comment
Open

Compiling, Deploying Java Callout via Grunt on windows #19

klevak opened this issue Apr 13, 2016 · 1 comment

Comments

@klevak
Copy link
Contributor

klevak commented Apr 13, 2016

From community post:

https://community.apigee.com/questions/20465/problem-building-java-callout-classes-via-grunt-ve.html

We found that the Grunt tasks used to compiling Java callouts do not fully work cross platform. For example, if developers are using Windows they could have issues setting classpaths given the difference on how paths are handled.

@dzuluaga
Copy link
Collaborator

Thanks @klevak for sharing. Agreed, Grunt example leverages Javac from the OS, so depending on the platform Linux or Window, you need to tweak it accordingly.

Here's a sample API Proxy Grunt with a Java callout. However, Sean's post may cover more use cases. https://github.com/dzuluaga/apigee-tutorials/blob/master/apiproxies/read-file-java-api/Gruntfile.js#L160-L162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants