Problem with compiling ERAttachments

"Dr. Markus Stoll" <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Hi,

after finally upgrading to current integration branch of WONDER, i cannot get it compiled using ant 
(with woproject.jar)

When compiling with "ant frameworks"

I end up with these errors

[wocompile] Compiling 49 source files to C:\Roots\classes\ERAttachment

[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\DrewMetadataDirectoryParser.java:17: cannot find symbol
[wocompile] symbol  : constructor ExifReader()
[wocompile] location: class com.drew.metadata.exif.ExifReader
[wocompile]       new ExifReader().extract(reader, metadata);
[wocompile]       ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\DrewMetadataDirectoryParser.java:21: cannot find symbol
[wocompile] symbol  : constructor IptcReader()
[wocompile] location: class com.drew.metadata.iptc.IptcReader
[wocompile]       new IptcReader().extract(reader, metadata);
[wocompile]       ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\DrewMetadataDirectoryParser.java:26: cannot find symbol
[wocompile] symbol  : method getDirectories()
[wocompile] location: class com.drew.metadata.Metadata
[wocompile]       for (Directory directory : metadata.getDirectories()) {
[wocompile]                                          ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\DrewMetadataParser.java:22: cannot find symbol
[wocompile] symbol  : method getDirectories()
[wocompile] location: class com.drew.metadata.Metadata
[wocompile]       for (Directory directory : metadata.getDirectories()) {
[wocompile]                                          ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\DrewMetadataParser.java:39: cannot find symbol
[wocompile] symbol  : method getTags()
[wocompile] location: class com.drew.metadata.Directory
[wocompile]     for (Tag tag : directory.getTags()) {
[wocompile]                             ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\ERMetadataUtils.java:19: cannot find symbol
[wocompile] symbol  : variable TAG_COUNTRY_OR_PRIMARY_LOCATION_NAME
[wocompile] location: class com.drew.metadata.iptc.IptcDirectory
[wocompile] 				Integer.valueOf(IptcDirectory.TAG_COUNTRY_OR_PRIMARY_LOCATION_NAME));
[wocompile] 				                             ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\JAIMetadataParser.java:82: cannot find symbol
[wocompile] symbol  : constructor ExifReader()
[wocompile] location: class com.drew.metadata.exif.ExifReader
[wocompile]     	new ExifReader().extract(reader, metadata);
[wocompile]     	^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\JAIMetadataParser.java:83: incompatible types
[wocompile] found   : com.drew.metadata.Directory
[wocompile] required: com.drew.metadata.exif.ExifIFD0Directory
[wocompile]     	return metadata.getDirectory(ExifIFD0Directory.class);
[wocompile]     	                            ^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\JAIMetadataParser.java:103: cannot find symbol
[wocompile] symbol  : constructor IptcReader()
[wocompile] location: class com.drew.metadata.iptc.IptcReader
[wocompile]     	new IptcReader().extract(reader, metadata);
[wocompile]     	^
[wocompile] D:\workspaces\F_WonderGit\Frameworks\BusinessLogic\ERAttachment\Sources\er\attachment\metadata\JAIMetadataParser.java:104: incompatible types
[wocompile] found   : com.drew.metadata.Directory
[wocompile] required: com.drew.metadata.iptc.IptcDirectory
[wocompile]         return metadata.getDirectory(IptcDirectory.class);
[wocompile]                                     ^
[wocompile] 10 errors

though obviously the needed jars are integrated in this framework and referred to in .classpath 

I used  lastet java 1.6 version

Markus

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.