-
Notifications
You must be signed in to change notification settings - Fork 10
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
PDFCLOUD-2446 Create two pdfRest Java code samples #42
PDFCLOUD-2446 Create two pdfRest Java code samples #42
Conversation
6f8a856
to
649454b
Compare
- Add dependencies to pom.xml - Also accept filename as a program argument - Also accept PDFREST_API_KEY from the environment
- Create a jar-with-dependencies
1b3d154
to
ba8d1ea
Compare
- Ensures that it compiles - Checks formatting
ba8d1ea
to
41792a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Followed the instructions in the README for running from IntelliJ IDEA and the samples ran as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No notes! Works great
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nifty!
PDFCLOUD-2446
CompressedPdf
andMergePdf
pom.xml
file that functions as sort of a universal project format; should work with IntelliJ IDEA (developed with) but also Visual Studio Code, Eclipse, or NetBeans.verify
phase in Maven for pull requests and the main branch.See the README.md in the
Java/Single Calls
directory for more information on how to use these samples.The two samples will be
Some deviation from the patterns in the other tests:
compressed-pdf.java
was right out; in this case, I just went.Deviations from normal Maven projects:
src/main/java/org/example
.Improvements:
.env
file to avoid placing it into source code.