You cloned the default branch, and that one doesn't work with Eclipse 4.4.

Envoyé de mon iPhone

> Le 2014-08-04 à 12:05, Theodore Petrosky <[email protected]> a écrit :
> 
> I want to try out the new WOLips and eclipse 4.x
> I am following the instruction at:   
> http://wiki.wocommunity.org/display/WOL/Building+WOLips
> 
> I cloned the project with git clone git://github.com/wolips/wolips.git 
> woproject
> cded into woproject and invoked ant
> 
> Buildfile: /Users/asacksadmin/Repository/woproject/build.xml
> 
> definestableupdatesite:
> 
> print.environment:
>      [echo] 
>      [echo]         ****************************************
>      [echo]         * java.home = 
> /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
>      [echo]         * build.compiler = javac1.5
>      [echo]         * ant.home = /usr/local/Cellar/ant/1.9.4/libexec
>      [echo]         * user.home = /Users/asacksadmin
>      [echo]         * build.version = 3.5.$Revision$
>      [echo]         * build.version.to.replace = 1.0.6
>      [echo]         * build.output.dir = temp
>      [echo]         * build.output.java.dir = temp/classes
>      [echo]         * build.output.java.test.dir = temp/testclasses
>      [echo]         * build.output.build.dir = temp/build
>      [echo]         * build.output.dist.dir = temp/dist
>      [echo]         * build.output.dist.targz.dir = temp/targz
>      [echo]         * deploy.dir = ${deploy.dir} (set by the buildserver)
>      [echo]         * eclipse.home = 
> /Developer/Applications/eclipse/Eclipse.app
>      [echo]         * eclipse.deps.home = ${eclipse.deps.home}/features
>      [echo]         * no.clean = ${no.clean}
>      [echo]         * no.docs = ${no.docs}
>      [echo]         * compile options
>      [echo]         * compile.deprecation= on
>      [echo]         * compile.debug= on
>      [echo]         * compile.optimize= off
>      [echo]         * compile.source= 1.5
>      [echo]         * compile.target= 1.5
>      [echo]         * feature.updateSiteName= WOLips stable
>      [echo]         * feature.updateSite= 
> http://webobjects.mdimension.com/wolips/stable/
>      [echo]         ****************************************
>      [echo]         
> 
> *******************       I am getting all these errors:
> 
> java:
>     [javac] 
> /Users/asacksadmin/Repository/woproject/buildscripts/ant-style-project.xml:17:
>  warning: 'includeantruntime' was not set, defaulting to 
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 29 source files to 
> /Users/asacksadmin/Repository/woproject/temp/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction 
> with -source 1.5
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/FrameworkSet.java:126:
>  error: constructor ExternalFrameworkModel in class ExternalFrameworkModel 
> cannot be applied to given types;
>     [javac]       this.frameworkModel = new 
> ExternalFrameworkModel(getProject().getProperties());
>     [javac]                             ^
>     [javac]   required: Map<Object,Object>
>     [javac]   found: Hashtable<String,Object>
>     [javac]   reason: actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOApplication.java:556:
>  error: no suitable constructor found for 
> WOEnvironment(Hashtable<String,Object>)
>     [javac]     woEnvironment = new 
> WOEnvironment(this.getProject().getProperties());
>     [javac]                     ^
>     [javac]     constructor 
> WOEnvironment.WOEnvironment(WOVariables,Map<Object,Object>) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor WOEnvironment.WOEnvironment(Map<Object,Object>) 
> is not applicable
>     [javac]       (actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion)
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOCompile.java:89:
>  error: no suitable constructor found for 
> WOEnvironment(Hashtable<String,Object>)
>     [javac]     
> setClasspath(FrameworkSet.jarsPathForFrameworkSets(getProject(), 
> frameworkSets, new 
> WOEnvironment(getProject().getProperties()).getWOVariables()));
>     [javac]                                                                   
>                   ^
>     [javac]     constructor 
> WOEnvironment.WOEnvironment(WOVariables,Map<Object,Object>) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor WOEnvironment.WOEnvironment(Map<Object,Object>) 
> is not applicable
>     [javac]       (actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion)
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOLipsPropertiesTask.java:14:
>  error: no suitable constructor found for 
> WOEnvironment(Hashtable<String,Object>)
>     [javac]                   WOEnvironment environment = new 
> WOEnvironment(getProject().getProperties());
>     [javac]                                               ^
>     [javac]     constructor 
> WOEnvironment.WOEnvironment(WOVariables,Map<Object,Object>) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor WOEnvironment.WOEnvironment(Map<Object,Object>) 
> is not applicable
>     [javac]       (actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion)
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOPath.java:110:
>  error: no suitable constructor found for 
> WOEnvironment(Hashtable<String,Object>)
>     [javac]       add(FrameworkSet.jarsPathForFrameworkSets(getProject(), 
> _frameworkSets, new 
> WOEnvironment(getProject().getProperties()).getWOVariables()));
>     [javac]                                                                   
>             ^
>     [javac]     constructor 
> WOEnvironment.WOEnvironment(WOVariables,Map<Object,Object>) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor WOEnvironment.WOEnvironment(Map<Object,Object>) 
> is not applicable
>     [javac]       (actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion)
>     [javac] 
> /Users/asacksadmin/Repository/woproject/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOUnit.java:23:
>  error: no suitable constructor found for 
> WOEnvironment(Hashtable<String,Object>)
>     [javac]     
> getCommandline().createClasspath(getProject()).createPath().add(FrameworkSet.jarsPathForFrameworkSets(getProject(),
>  frameworkSets, new 
> WOEnvironment(getProject().getProperties()).getWOVariables()));
>     [javac]                                                                   
>                                                                      ^
>     [javac]     constructor 
> WOEnvironment.WOEnvironment(WOVariables,Map<Object,Object>) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     constructor WOEnvironment.WOEnvironment(Map<Object,Object>) 
> is not applicable
>     [javac]       (actual argument Hashtable<String,Object> cannot be 
> converted to Map<Object,Object> by method invocation conversion)
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 6 errors
>     [javac] 1 warning
> 
> 
> Is there a property that I am missing?
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to