https://bz.apache.org/bugzilla/show_bug.cgi?id=62621
Bug ID: 62621
Summary: running fetch.xml does not add all dependencies for
mail task
Product: Ant
Version: 1.10.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
after fresh install of binary distribution, and running fetch.xml, email task
still fails.
* unzip bin dist file
* ant -f fetch.xml -Ddest=system
* run ant with mail task
function:
<mail mailhost="mail" mailport="25" from="[email protected]" subject="Testemail"
>
<to address="[email protected]" />
</mail>
expected outcome:
mail send
actual outcome:
build.xml:6: java.lang.NoClassDefFoundError:
com/sun/mail/util/FolderClosedIOException
cause:
missing javax.mail-1.6.1.jar
workaround:
manually copy javax.mail-1.6.1.jar into lib directory
problem should be already fixed in nightly build.
--
You are receiving this mail because:
You are the assignee for the bug.