Re: Problem with compiling ERAttachments
Þór Sigurðsson <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
FWIW, I'm using Java 1.6.0_41-b02-445 on OS X.8, flawless installation on fresh compuer.
This is what I sent to the list yesterday:
e4.2 -> success (this can hardly fail)
WOLips -> success (this only fails if one gets the URL wrong)
*IGNORED* the "wolips.543.properties" advice - renamed wolips.properties to .dist, created *new* wolips.properties from contents of
the webpage, and only did :s/<YOUR_USER_NAME_HERE\!>/thor/g (yes yes.. I use vi...)
WO -> (this only fails if the internet connection is borked)
Copy the woproject.jar to /usr/share/ant/lib
Wonder -> (this has been my biggest problem so far, but this time.....)
git clone ....
git checkout integration
for item in frameworks applications examples ; do ant $item && sudo ant $item.install ; done
I presume the same can be used for e3.8 without the integration part..
Best,
Þór
On 28.2.2013, at 11:37, Paul Yu wrote:
> Java 1.6?
>
> Sent from my iPad
>
> On Feb 28, 2013, at 4:36 AM, "Dr. Markus Stoll" <[email protected]> wrote:
>
>> thanks,
>>
>> I tried both, but this did not help
>>
>> I pulled again, to have the latest version of the integration branch and I tried on
>> several computers, but its always the same.
>>
>> And I don't even need ERAttachment, I just need to get the whole bunch compiled and
>> installed....
>>
>> Markus
>>
>>> Hi,
>>>
>>> From the WonderSource tree: sudo cp Build/lib/woproject.jar /usr/share/ant/lib
>>>
>>> Then try again
>>>
>>> Also, if you keep "wolips.543.properties" and "wolips.properties" the same, it may help. (not sure if there's an impact - it's just what I did... )
>>>
>>> Best,
>>> Þór
>>>
>>>
>>> On 28.2.2013, at 08:30, Dr. Markus Stoll wrote:
>>>
>>>> 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
>>>
>>>
>>> ________________________________
>>>
>>> Fyrirvari á tölvupósti / e-mail disclaimer
>>> http://us.is/fyrirvari
>>
>> ------------------------------------------------------------------------------
>> 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