Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

How to import more than 1 library?
 Post subject: How to import more than 1 library? Post rating: 0   New post Posted: Sat 07 Aug, 2010, 17:42 

User rating: 0
Joined: Wed 18 May, 2011, 11:25
Posts: 60
Location: DE
Hi,

i saw the code samples with the java mail using the @Library Annotation.
e.g. @Library("C:\\libs\\MailTest\\MailTest.jar")

but how can i add more than one jar file?

when i try to use more than one @Library Annotation, i always an error:
--> Duplicate annotation @Library

so it seems that ony one @Library Annotation is allowed. but i need to
add more than one external jar library.

is it possible?


greetings,
tom


 
 Post subject: Re: How to import more than 1 library? Post rating: 0   New post Posted: Sat 07 Aug, 2010, 17:54 

User rating: 0
Joined: Wed 18 May, 2011, 11:25
Posts: 60
Location: DE
ok i got it by myself ;)

@Library("C:\\libs\\MailTest\\MailTest.jar;C:\\libs\\MailTest\\lib2.jar")


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com