Re: Problem with compiling ERAttachments

Ray Kiddy <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
On Feb 28, 2013, at 4:33 AM, Dr. Markus Stoll wrote:

> stupid me, when switching from an older wonder version
> 
> "ant clean" ahead of the compilation is a good idea
> 
> thanks, Markus
> 

Hello -

Did you try using the Tools/buildAll script in wonder? I added this and I hoped it would make things easier for people. Of course, I am not sure that it is universally usable. Please let me know if you can try it out and let me know if you encounter problems.

thanx - ray


> Am 28.02.2013 um 13:02 schrieb Johann Werner <[email protected]>:
> 
>> Hi Markus,
>> 
>> tried "ant frameworks" and it works for me (OS X 10.6, Java 1.6). You could try to replace the metadata-extractor.jar with the 2.6.4 version [1] which seems to have a change in which JDK is targeted. If you just need the binaries you could also download them directly from the community's jenkins server [2].
>> 
>> jw
>> 
>> 
>> [1] http://code.google.com/p/metadata-extractor/downloads/list
>> [2] http://jenkins.wocommunity.org/job/WonderIntegration/lastSuccessfulBuild/artifact/Root/Roots/Wonder-Frameworks.tar.gz
>> 
>> 
>> Am 28.02.2013 um 09:30 schrieb Dr. Markus Stoll <[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
>> 
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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
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.