• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder Source build error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder Source build error


  • Subject: Re: Wonder Source build error
  • From: Jesse Tayler via Webobjects-dev <email@hidden>
  • Date: Tue, 31 Dec 2019 11:52:49 -0500

I think it does, yes. Of course, I’m clueless outside of having a lot of
compiler issues over the years...Frankly, I’m always about 50% confused during
these circumstances so I’m certain someone else knows for sure.

But I’m guessing you can solve even command-line ant build settings by
attending the compiler settings in eclipse.




> On Dec 31, 2019, at 11:40 AM, Jeffrey Schmitz <email@hidden>
> wrote:
>
> I running  ant from the command line to build in the WonderSource git
> repository that I cloned per the below link.  Would that use an eclipse
> setting?
>
> https://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant
>
>
>
>> On Dec 31, 2019, at 10:04 AM, Jesse Tayler <email@hidden> wrote:
>>
>> I suspect your compiler settings.
>>
>> Check those in eclipse to be certain about your target and compiler being
>> used by your build.
>>
>>
>>
>>
>>> On Dec 31, 2019, at 10:56 AM, Jeffrey Schmitz via Webobjects-dev
>>> <email@hidden> wrote:
>>>
>>>
>>> Also, now when I manually fix the Override error I’m getting additional
>>> errors:
>>>
>>> global.dummy:
>>> [wocompile] Compiling 11 source files to
>>> /Users/netBrackets/Roots/classes/ERProfiling
>>> [wocompile] warning: [options] bootstrap class path not set in conjunction
>>> with -source 8
>>> [wocompile]
>>> /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:8:
>>>  error: cannot find symbol
>>> [wocompile] import sun.misc.Resource;
>>> [wocompile]                ^
>>> [wocompile]   symbol:   class Resource
>>> [wocompile]   location: package sun.misc
>>> [wocompile]
>>> /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:9:
>>>  error: cannot find symbol
>>> [wocompile] import sun.misc.URLClassPath;
>>> [wocompile]                ^
>>> [wocompile]   symbol:   class URLClassPath
>>> [wocompile]   location: package sun.misc
>>> [wocompile]
>>> /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:87:
>>>  error: cannot find symbol
>>> [wocompile]                 Resource res = new
>>> URLClassPath(getURLs()).getResource(path, false);
>>> [wocompile]                 ^
>>> [wocompile]   symbol:   class Resource
>>> [wocompile]   location: class WeavingClassLoader
>>> [wocompile]
>>> /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:87:
>>>  error: cannot find symbol
>>> [wocompile]                 Resource res = new
>>> URLClassPath(getURLs()).getResource(path, false);
>>> [wocompile]                                    ^
>>> [wocompile]   symbol:   class URLClassPath
>>> [wocompile]   location: class WeavingClassLoader
>>> [wocompile] 4 errors
>>> [wocompile] 1 warning
>>>
>>>
>>>
>>>
>>>> On Dec 31, 2019, at 9:52 AM, Jeffrey Schmitz
>>>> <email@hidden> wrote:
>>>>
>>>> I switched to java 8:
>>>>
>>>> java -version
>>>> openjdk version "1.8.0_232"
>>>> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
>>>> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)
>>>>
>>>>
>>>>
>>>> But am still getting the error.
>>>>
>>>> [wocompile]
>>>> /Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269:
>>>>  error: method does not override or implement a method from a supertype
>>>> [wocompile]             @Override
>>>> [wocompile]             ^
>>>> [wocompile] Note: Some input files use or override a deprecated API.
>>>> [wocompile] Note: Recompile with -Xlint:deprecation for details.
>>>> [wocompile] Note: Some input files use unchecked or unsafe operations.
>>>> [wocompile] Note: Recompile with -Xlint:unchecked for details.
>>>> [wocompile] 1 error
>>>> [wocompile] 15 warnings
>>>>
>>>>
>>>>
>>>>> On Dec 30, 2019, at 3:49 PM, Henrique Prange <email@hidden> wrote:
>>>>>
>>>>> Hi Jeffrey,
>>>>>
>>>>> What Java version are you using to compile the code? If it's Java 11 or
>>>>> greater, this error is expected because the method destroy of the Thread
>>>>> class was removed. It's deprecated since Java 8.
>>>>>
>>>>> Currently, it's advisable to build Wonder with Java 8. You can still use
>>>>> the resulting binaries on projects with Java 11+ at your own risk.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> HP
>>>>>
>>>>>> On Dec 30, 2019, at 2:30 PM, Jeffrey Schmitz via Webobjects-dev
>>>>>> <email@hidden> wrote:
>>>>>>
>>>>>> Hello List (again),
>>>>>>   I’m trying to build the latest wonder source and am getting the below
>>>>>> error.  I was able to build by deleting the @Override annotation, but am
>>>>>> not sure if this is the right thing to do .
>>>>>>
>>>>>> [wocompile]
>>>>>> /Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269:
>>>>>>  error: method does not override or implement a method from a supertype
>>>>>> [wocompile]             @Override
>>>>>> [wocompile]             ^
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list      (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Wonder Source build error
      • From: Jeffrey Schmitz via Webobjects-dev <email@hidden>
References: 
 >Wonder Source build error (From: Jeffrey Schmitz via Webobjects-dev <email@hidden>)
 >Re: Wonder Source build error (From: Henrique Prange via Webobjects-dev <email@hidden>)
 >Re: Wonder Source build error (From: Jeffrey Schmitz via Webobjects-dev <email@hidden>)
 >Re: Wonder Source build error (From: Jeffrey Schmitz via Webobjects-dev <email@hidden>)
 >Re: Wonder Source build error (From: Jesse Tayler via Webobjects-dev <email@hidden>)
 >Re: Wonder Source build error (From: Jeffrey Schmitz via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Wonder Source build error
  • Next by Date: Re: Wonder Source build error
  • Previous by thread: Re: Wonder Source build error
  • Next by thread: Re: Wonder Source build error
  • Index(es):
    • Date
    • Thread