On Dec 1, 2011, at 9:44 AM, Paul Dunkler wrote:

>> 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.
> 
> Okay, but that isn't an explanation for the broken compile, is it?

I won't pretend to understand Maven :-)  I'll leave the rest of your  question 
to someone who just loves dependency management.  I'm only pointing out that 
it's possibly finding the WO version before the Wonder one.

Ramsey

> I mean it works if i remove the PostgresqlPlugin... And if i remove the 
> plugin, my code will not change... the var args constructor is then still 
> there... I don't understand 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 :) 
>>> 
>>> 
>>> --
>>> Mit freundlichen Grüßen / With kind regards
>>> 
>>> Paul Dunkler
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to [email protected]
>> 
> 
> --
> Mit freundlichen Grüßen
> 
> Paul Dunkler
> 
> 
> 
> <xyrality_logo_medium.png>
> 
> -----------------------------------------------------
> XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
> Paul Dunkler • Softwareentwickler
> Mail: [email protected]       
> Tel: +49 (0) 40 23 51 78 97
> Mobil: +49 (0) 151 252 228 42
> Fax: +49 (0) 40 23 51 78 98
> Web: http://www.xyrality.com/
> Registergericht: Hamburg HRB 115332
> Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
> -----------------------------------------------------
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to