• 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: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project


  • Subject: Re: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
  • From: Ramsey Gurley <email@hidden>
  • Date: Thu, 01 Dec 2011 09:18:41 -0700

NSArray doesn't have a var args constructor

http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/foundation/NSArray.html

Only wonder's version of NSArray has that.

Ramsey

On Dec 1, 2011, at 7:25 AM, Paul Dunkler wrote:

Hi Guys,

i´m currently trying to convert our deployment scenario to maven. Therefore i am currently creating the pom-hierarchy plus the pom's for the different projects which build our products.

Well i've put the PostgresqlPlugin in one of these builds and it is broken now. It is throwing creepy compilation errors when inserted into the pom:
[ERROR] /Users/paul/XYRALITY/Source/BKWorldServer/Sources/com/xyrality/bk/actions/BKDirectAction.java:[125,48] cannot find symbol
symbol  : constructor NSArray(com.webobjects.eocontrol.EOQualifier,com.webobjects.eocontrol.EOQualifier)
location: class com.webobjects.foundation.NSArray<com.webobjects.eocontrol.EOQualifier>
[ERROR] /Users/paul/XYRALITY/Source/BKWorldServer/Sources/com/xyrality/bk/actions/AllianceAction.java:[823,142] cannot find symbol
symbol  : constructor NSArray(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class com.webobjects.foundation.NSArray<java.lang.String>
[ERROR] /Users/paul/XYRALITY/Source/BKWorldServer/Sources/com/xyrality/bk/actions/ProfileAction.java:[88,107] cannot find symbol
symbol  : constructor NSArray(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class com.webobjects.foundation.NSArray<java.lang.String>
[ERROR] /Users/paul/XYRALITY/Source/BKWorldServer/Sources/com/xyrality/bk/actions/ProfileAction.java:[159,106] cannot find symbol
symbol  : constructor NSArray(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class com.webobjects.foundation.NSArray<java.lang.String>

It feels like the PostgresqlPlugin overwritten the NSArray-Class or why doesn't it find the var args-constructors for it?
If i delete the dependency the build will run fine... any ideas? I am using the version wonder version 5.4.2 and webobjects version 5.4.3 with the following dependencies:

    <dependency>
      <groupId>${wonder.core.groupId}</groupId>
      <artifactId>ERExtensions</artifactId>
    </dependency>
    <dependency>
      <groupId>${wonder.core.groupId}</groupId>
      <artifactId>WOOgnl</artifactId>
    </dependency>
    <dependency>
      <groupId>${wonder.core.groupId}</groupId>
      <artifactId>ERPrototypes</artifactId>
    </dependency>
    <dependency>
      <groupId>${webobjects.groupId}</groupId>
      <artifactId>JavaWebObjects</artifactId>
    </dependency>
      <dependency>
        <groupId>${webobjects.groupId}</groupId>
        <artifactId>JavaEOAccess</artifactId>
      </dependency>
<dependency>
    <groupId>postgresql</groupId>
    <artifactId>postgresql</artifactId>
    <version>9.0-801.jdbc4</version>
</dependency>

Maven version number:
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)

OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"


Lifecycle and compiler plugin are the following:
      <plugin>
        <groupId>org.objectstyle.woproject.maven2</groupId>
        <artifactId>maven-wolifecycle-plugin</artifactId>
        <version>2.2.1</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>${jvmtarget}</source>
          <target>${jvmtarget}</target>
        </configuration>
      </plugin>

Would very nice if someone can help :) 


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: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
      • From: Paul Dunkler <email@hidden>
References: 
 >Compilation errors when adding PostgresqlPlugin to maven-woapplication-project (From: Paul Dunkler <email@hidden>)

  • Prev by Date: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
  • Next by Date: Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2
  • Previous by thread: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
  • Next by thread: Re: Compilation errors when adding PostgresqlPlugin to maven-woapplication-project
  • Index(es):
    • Date
    • Thread