• 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
problem with compiling ERJavaMail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with compiling ERJavaMail


  • Subject: problem with compiling ERJavaMail
  • From: Theodore Petrosky <email@hidden>
  • Date: Fri, 01 Jun 2012 14:34:35 -0700 (PDT)

I am setting up a new computer to do development. I used:

git clone git://github.com/projectwonder/wonder.git WonderSource

cd into WonderSource and:

ant frameworks; sudo ant frameworks.install

I am getting this error. I don't recall there being a problem. Please a little pointing in the right direction.

Ted


global.prepare:
    [mkdir] Created dir: /Users/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Components

global.compile:

global.dummy:
[wocompile] Compiling 17 source files to /Users/asacksadmin/Roots/classes/ERJavaMail
[wocompile] /Users/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Sources/er/javamail/ERJavaMail.java:337: getInstance(java.util.Properties,javax.mail.Authenticator) in javax.mail.Session cannot be applied to (java.util.Properties)
[wocompile] 		javax.mail.Session session = javax.mail.Session.getInstance(properties);
[wocompile] 		                                               ^
[wocompile] /Users/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Sources/er/javamail/ERMailUtils.java:240: cannot find symbol
[wocompile] symbol  : method toUnicodeString()
[wocompile] location: class javax.mail.internet.InternetAddress
[wocompile] 				emailAddress = ((InternetAddress) anAddress).toUnicodeString();
[wocompile] 				                                            ^
[wocompile] Note: /Users/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Sources/er/javamail/ERMailSender.java uses unchecked or unsafe operations.
[wocompile] Note: Recompile with -Xlint:unchecked for details.
[wocompile] 2 errors

BUILD FAILED
/Users/asacksadmin/Repository/WonderSource/build.xml:12: The following error occurred while executing this line:
/Users/asacksadmin/Repository/WonderSource/Build/build/build.xml:1195: The following error occurred while executing this line:
/Users/asacksadmin/Repository/WonderSource/Build/build/build.xml:1186: The following error occurred while executing this line:
/Users/asacksadmin/Repository/WonderSource/Build/build/build.xml:225: The following error occurred while executing this line:
/Users/asacksadmin/Repository/WonderSource/Build/build/generic.xml:270: Compile failed; see the compiler error output for details.

Total time: 29 seconds
 _______________________________________________
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

  • Prev by Date: Re: mdimensions down?
  • Next by Date: Re: Using composition instead of inheritance
  • Previous by thread: Re: mdimensions down?
  • Next by thread: WebObjects mention on Slashdot
  • Index(es):
    • Date
    • Thread