harwey / cups4j

Cups4j Java printing library for CUPS/IPP
http://cups4j.org
GNU Lesser General Public License v3.0
130 stars 64 forks source link

Runtime dependencies 0.7.6 updating to 0.7.8 #46

Closed C4J closed 3 years ago

C4J commented 3 years ago

Not being that familiar with Maven I was wondering if someone could confirm the runtime dependencies required for version 0.7.8

The list I have generated is shown below.

commons-codec-1.9.jar commons-io-2.6.jar commons-lang-2.6.jar commons-logging-1.2.jar hamcrest-core-1.3.jar httpclient-4.5.2.jar httpcore-4.4.4.jar jgoodies-common-1.6.0.jar jgoodies-forms-1.7.1.jar junit-4.13.1.jar simple-xml-2.7.1.jar slf4j-api-1.7.25.jar slf4j-simple-1.7.25.jar stax-1.2.0.jar stax-api-1.0.1.jar xpp3-1.1.3.3.jar

C4J commented 3 years ago

I should have mentioned that I'm also moving from Java 8 to Java 11 at the same time.

Can anyone confirm the dependencies that are needed, please? I don't use Maven in my project and will have to add the appropriate jars manually.

Dave

C4J commented 3 years ago

Anyone - runtime jars needed for non maven project ?

harwey commented 3 years ago

Your list looks good. You can always download cups4j and build it with maven. After that you will find all dependent libraries in the directory target/lib.

Harald

C4J commented 3 years ago

Ok thanks.. Is the library ok with Java 11?

Dave

On 16 Apr 2021, at 18:51, harwey @.***> wrote:

Your list looks good. You can always download cups4j and build it with maven. After that you will find all dependent libraries in the directory target/lib.

Harald

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harwey/cups4j/issues/46#issuecomment-821346825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4Z2TUELC2LFQWXWZOTKR3TJB2LNANCNFSM42NLYPPA.

David Garratt @.***

www.commander4j.com

Please consider your environmental responsibility before printing emails.

harwey commented 3 years ago

Hi Dave,

Just give it a try and come back if you get in troubles. I would not expect any problems though.

Harald

C4J commented 3 years ago

Is junit a jar required for deployment? I also see jgoodies has been added - does this mean there is now a gui component?

My project also uses Jasper reports 6.16 which also uses some of the same jars albeit different versions - getting complicated!

Dave

Sent from my iPhone

On 18 Apr 2021, at 06:46, harwey @.***> wrote:

 Hi Dave,

Just give it a try and come back if you get in troubles. I would not expect any problems though.

Harald

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

harwey commented 3 years ago

Junit and jgoodies are only relevant to code in test packages.

There is a class called PrinterAttributes that shows printer attributes in a very simple gui.

C4J commented 3 years ago

It’s my unfamiliarity with maven.

When I build from the command line what parameter should I use to create the jars which are only used for runtime.

Should I just exclude jgoodies and junit or are there any others which are relevant to test packages only ?

Sorry for asking so many questions

Dave

On 21 Apr 2021, at 11:09, harwey @.***> wrote:

Junit an jgoodies are only relevant to code in test packages.

There is a class called PrinterAttributes that shows printer attributes in a very simple gui.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harwey/cups4j/issues/46#issuecomment-823945405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4Z2TUMMEC7VYV772HLEFLTJ2P6FANCNFSM42NLYPPA.

David Garratt @.***

www.commander4j.com

Please consider your environmental responsibility before printing emails.

harwey commented 3 years ago

You should be fine using those libraries:

commons-codec-1.9.jar commons-io-2.6.jar commons-lang-2.6.jar commons-logging-1.2.jar hamcrest-core-1.3.jar httpclient-4.5.2.jar httpcore-4.4.4.jar simple-xml-2.7.1.jar slf4j-api-1.7.25.jar slf4j-simple-1.7.25.jar stax-1.2.0.jar stax-api-1.0.1.jar xpp3-1.1.3.3.jar

C4J commented 3 years ago

I have integrated 0.7.8 into my project now thank you.

On 21 Apr 2021, at 12:44, harwey @.***> wrote:

You should be fine using those libraries:

commons-codec-1.9.jar commons-io-2.6.jar commons-lang-2.6.jar commons-logging-1.2.jar hamcrest-core-1.3.jar httpclient-4.5.2.jar httpcore-4.4.4.jar simple-xml-2.7.1.jar slf4j-api-1.7.25.jar slf4j-simple-1.7.25.jar stax-1.2.0.jar stax-api-1.0.1.jar xpp3-1.1.3.3.jar

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harwey/cups4j/issues/46#issuecomment-823996196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4Z2TQ7J33RENJG3NSLBMTTJ23BLANCNFSM42NLYPPA.

David Garratt @.***

www.commander4j.com

Please consider your environmental responsibility before printing emails.