Error compiling trunk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling trunk

Varun Bhansaly
Have been facing issues related to trunk (at r1343711) compilation via
./ant (10.04 compiles with no errors)

This is the error snippet -

classes:
  [javac16] Compiling 3 source files to
/home/varun.bhansaly/ofbiz/framework/base/build/classes
  [javac16]
/home/varun.bhansaly/ofbiz/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java:87:
cannot find symbol
  [javac16] symbol  : method setNullWildcards(boolean)
  [javac16] location: class freemarker.ext.beans.BeansWrapper
  [javac16]         wrapper.setNullWildcards(true);
  [javac16]                ^
  [javac16] 1 error

BUILD FAILED
/home/varun.bhansaly/ofbiz/build.xml:216: The following error occurred
while executing this line:
/home/varun.bhansaly/ofbiz/framework/build.xml:148: The following error
occurred while executing this line:
/home/varun.bhansaly/ofbiz/macros.xml:39: The following error occurred
while executing this line:
/home/varun.bhansaly/ofbiz/framework/base/build.xml:90: Compile failed; see
the compiler error output for details.

--
Regards,
Varun Bhansaly
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Adrian Crum-3
Have you tried running ant clean?

-Adrian

On 5/29/2012 2:26 PM, varun bhansaly wrote:

> Have been facing issues related to trunk (at r1343711) compilation via
> ./ant (10.04 compiles with no errors)
>
> This is the error snippet -
>
> classes:
>    [javac16] Compiling 3 source files to
> /home/varun.bhansaly/ofbiz/framework/base/build/classes
>    [javac16]
> /home/varun.bhansaly/ofbiz/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java:87:
> cannot find symbol
>    [javac16] symbol  : method setNullWildcards(boolean)
>    [javac16] location: class freemarker.ext.beans.BeansWrapper
>    [javac16]         wrapper.setNullWildcards(true);
>    [javac16]                ^
>    [javac16] 1 error
>
> BUILD FAILED
> /home/varun.bhansaly/ofbiz/build.xml:216: The following error occurred
> while executing this line:
> /home/varun.bhansaly/ofbiz/framework/build.xml:148: The following error
> occurred while executing this line:
> /home/varun.bhansaly/ofbiz/macros.xml:39: The following error occurred
> while executing this line:
> /home/varun.bhansaly/ofbiz/framework/base/build.xml:90: Compile failed; see
> the compiler error output for details.
>
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Varun Bhansaly
Yes, error remains.

On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
[hidden email]> wrote:

> Have you tried running ant clean?
>
> -Adrian
>
>
> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>
>> Have been facing issues related to trunk (at r1343711) compilation via
>> ./ant (10.04 compiles with no errors)
>>
>> This is the error snippet -
>>
>> classes:
>>   [javac16] Compiling 3 source files to
>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>>   [javac16]
>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>> base/util/template/**FreeMarkerWorker.java:87:
>> cannot find symbol
>>   [javac16] symbol  : method setNullWildcards(boolean)
>>   [javac16] location: class freemarker.ext.beans.**BeansWrapper
>>   [javac16]         wrapper.setNullWildcards(true)**;
>>   [javac16]                ^
>>   [javac16] 1 error
>>
>> BUILD FAILED
>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error occurred
>> while executing this line:
>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following error
>> occurred while executing this line:
>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error occurred
>> while executing this line:
>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>> failed; see
>> the compiler error output for details.
>>
>>


--
Regards,
Varun Bhansaly
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Jacopo Cappellato-4
Please make sure you don't have the following file:

framework/base/lib/freemarker-2.3.19.jar

(delete it if you find it) and instead make sure you have:

framework/base/lib/freemarker-2.3.19-null-wildcards.jar

Jacopo

On May 29, 2012, at 4:09 PM, varun bhansaly wrote:

> Yes, error remains.
>
> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
> [hidden email]> wrote:
>
>> Have you tried running ant clean?
>>
>> -Adrian
>>
>>
>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>>
>>> Have been facing issues related to trunk (at r1343711) compilation via
>>> ./ant (10.04 compiles with no errors)
>>>
>>> This is the error snippet -
>>>
>>> classes:
>>>  [javac16] Compiling 3 source files to
>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>>>  [javac16]
>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>>> base/util/template/**FreeMarkerWorker.java:87:
>>> cannot find symbol
>>>  [javac16] symbol  : method setNullWildcards(boolean)
>>>  [javac16] location: class freemarker.ext.beans.**BeansWrapper
>>>  [javac16]         wrapper.setNullWildcards(true)**;
>>>  [javac16]                ^
>>>  [javac16] 1 error
>>>
>>> BUILD FAILED
>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error occurred
>>> while executing this line:
>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following error
>>> occurred while executing this line:
>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error occurred
>>> while executing this line:
>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>>> failed; see
>>> the compiler error output for details.
>>>
>>>
>
>
> --
> Regards,
> Varun Bhansaly

Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Varun Bhansaly
freemarker-2.3.19.jar already absent.
freemarker-2.3.19-null-wildcards.jar already present.

Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be the
issue.

On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
[hidden email]> wrote:

> Please make sure you don't have the following file:
>
> framework/base/lib/freemarker-2.3.19.jar
>
> (delete it if you find it) and instead make sure you have:
>
> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
>
> Jacopo
>
> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
>
> > Yes, error remains.
> >
> > On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
> > [hidden email]> wrote:
> >
> >> Have you tried running ant clean?
> >>
> >> -Adrian
> >>
> >>
> >> On 5/29/2012 2:26 PM, varun bhansaly wrote:
> >>
> >>> Have been facing issues related to trunk (at r1343711) compilation via
> >>> ./ant (10.04 compiles with no errors)
> >>>
> >>> This is the error snippet -
> >>>
> >>> classes:
> >>>  [javac16] Compiling 3 source files to
> >>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
> >>>  [javac16]
> >>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
> >>> base/util/template/**FreeMarkerWorker.java:87:
> >>> cannot find symbol
> >>>  [javac16] symbol  : method setNullWildcards(boolean)
> >>>  [javac16] location: class freemarker.ext.beans.**BeansWrapper
> >>>  [javac16]         wrapper.setNullWildcards(true)**;
> >>>  [javac16]                ^
> >>>  [javac16] 1 error
> >>>
> >>> BUILD FAILED
> >>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
> occurred
> >>> while executing this line:
> >>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
> error
> >>> occurred while executing this line:
> >>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
> occurred
> >>> while executing this line:
> >>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
> >>> failed; see
> >>> the compiler error output for details.
> >>>
> >>>
> >
> >
> > --
> > Regards,
> > Varun Bhansaly
>
>


--
Regards,
Varun Bhansaly
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Jacopo Cappellato-4
please confirm that you get the error if you run:

./ant clean build

Jacopo

On May 29, 2012, at 4:20 PM, varun bhansaly wrote:

> freemarker-2.3.19.jar already absent.
> freemarker-2.3.19-null-wildcards.jar already present.
>
> Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be the
> issue.
>
> On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
> [hidden email]> wrote:
>
>> Please make sure you don't have the following file:
>>
>> framework/base/lib/freemarker-2.3.19.jar
>>
>> (delete it if you find it) and instead make sure you have:
>>
>> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
>>
>> Jacopo
>>
>> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
>>
>>> Yes, error remains.
>>>
>>> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
>>> [hidden email]> wrote:
>>>
>>>> Have you tried running ant clean?
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>>>>
>>>>> Have been facing issues related to trunk (at r1343711) compilation via
>>>>> ./ant (10.04 compiles with no errors)
>>>>>
>>>>> This is the error snippet -
>>>>>
>>>>> classes:
>>>>> [javac16] Compiling 3 source files to
>>>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>>>>> [javac16]
>>>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>>>>> base/util/template/**FreeMarkerWorker.java:87:
>>>>> cannot find symbol
>>>>> [javac16] symbol  : method setNullWildcards(boolean)
>>>>> [javac16] location: class freemarker.ext.beans.**BeansWrapper
>>>>> [javac16]         wrapper.setNullWildcards(true)**;
>>>>> [javac16]                ^
>>>>> [javac16] 1 error
>>>>>
>>>>> BUILD FAILED
>>>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
>> occurred
>>>>> while executing this line:
>>>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
>> error
>>>>> occurred while executing this line:
>>>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
>> occurred
>>>>> while executing this line:
>>>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>>>>> failed; see
>>>>> the compiler error output for details.
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Varun Bhansaly
>>
>>
>
>
> --
> Regards,
> Varun Bhansaly

Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Varun Bhansaly
Yes, error remains.

On Tue, May 29, 2012 at 8:15 PM, Jacopo Cappellato <
[hidden email]> wrote:

> please confirm that you get the error if you run:
>
> ./ant clean build
>
> Jacopo
>
> On May 29, 2012, at 4:20 PM, varun bhansaly wrote:
>
> > freemarker-2.3.19.jar already absent.
> > freemarker-2.3.19-null-wildcards.jar already present.
> >
> > Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be
> the
> > issue.
> >
> > On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
> > [hidden email]> wrote:
> >
> >> Please make sure you don't have the following file:
> >>
> >> framework/base/lib/freemarker-2.3.19.jar
> >>
> >> (delete it if you find it) and instead make sure you have:
> >>
> >> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
> >>
> >> Jacopo
> >>
> >> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
> >>
> >>> Yes, error remains.
> >>>
> >>> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
> >>> [hidden email]> wrote:
> >>>
> >>>> Have you tried running ant clean?
> >>>>
> >>>> -Adrian
> >>>>
> >>>>
> >>>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
> >>>>
> >>>>> Have been facing issues related to trunk (at r1343711) compilation
> via
> >>>>> ./ant (10.04 compiles with no errors)
> >>>>>
> >>>>> This is the error snippet -
> >>>>>
> >>>>> classes:
> >>>>> [javac16] Compiling 3 source files to
> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
> >>>>> [javac16]
> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
> >>>>> base/util/template/**FreeMarkerWorker.java:87:
> >>>>> cannot find symbol
> >>>>> [javac16] symbol  : method setNullWildcards(boolean)
> >>>>> [javac16] location: class freemarker.ext.beans.**BeansWrapper
> >>>>> [javac16]         wrapper.setNullWildcards(true)**;
> >>>>> [javac16]                ^
> >>>>> [javac16] 1 error
> >>>>>
> >>>>> BUILD FAILED
> >>>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
> >> occurred
> >>>>> while executing this line:
> >>>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
> >> error
> >>>>> occurred while executing this line:
> >>>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
> >> occurred
> >>>>> while executing this line:
> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
> >>>>> failed; see
> >>>>> the compiler error output for details.
> >>>>>
> >>>>>
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Varun Bhansaly
> >>
> >>
> >
> >
> > --
> > Regards,
> > Varun Bhansaly
>
>


--
Regards,
Varun Bhansaly
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Varun Bhansaly
It is solved now, did a svn st and found following

?       framework/example
?       framework/common/webcommon/WEB-INF/geolocation.ftl
?       framework/birt/lib/platform
?       framework/base/lib/freemarker-2.3.15.jar
?       framework/base/lib/j2eespecs/tomcat-6.0.26-servlet-api.jar
?       framework/base/lib/j2eespecs/tomcat-6.0.26-jsp-api.jar
?       framework/base/lib/j2eespecs/tomcat-6.0.26-annotations-api.jar
?       framework/base/lib/j2eespecs/tomcat-6.0.26-el-api.jar
?       framework/base/lib/scripting/groovy-all-1.7.3.jar
?       framework/base/lib/commons/commons-fileupload-1.2.jar
?       framework/entity/lib/jdbc/mysql-connector-java-5.1.10-bin.jar
?       framework/entity/lib/jdbc/postgresql-8.4-701.jdbc3.jar
?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli.jar
?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli-adapters.jar
?       framework/catalina/lib/tomcat-6.0.26-tomcat-dbcp.jar
?       framework/catalina/lib/tomcat-6.0.26-catalina-tribes.jar
?       framework/catalina/lib/tomcat-6.0.26-catalina-ha.jar
?       framework/catalina/lib/tomcat-6.0.26-jasper-jdt.jar
?       framework/catalina/lib/tomcat-6.0.26-catalina.jar
?       framework/catalina/lib/tomcat-6.0.26-jasper-el.jar
?       framework/catalina/lib/tomcat-6.0.26-jasper.jar
?       framework/catalina/lib/tomcat-6.0.26-tomcat-coyote.jar
?       startofbiz.sh

Not sure why they remained even after svn up, manually removed them &
compiled again with success.


On Tue, May 29, 2012 at 8:23 PM, varun bhansaly <[hidden email]> wrote:

> Yes, error remains.
>
>
> On Tue, May 29, 2012 at 8:15 PM, Jacopo Cappellato <
> [hidden email]> wrote:
>
>> please confirm that you get the error if you run:
>>
>> ./ant clean build
>>
>> Jacopo
>>
>> On May 29, 2012, at 4:20 PM, varun bhansaly wrote:
>>
>> > freemarker-2.3.19.jar already absent.
>> > freemarker-2.3.19-null-wildcards.jar already present.
>> >
>> > Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be
>> the
>> > issue.
>> >
>> > On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
>> > [hidden email]> wrote:
>> >
>> >> Please make sure you don't have the following file:
>> >>
>> >> framework/base/lib/freemarker-2.3.19.jar
>> >>
>> >> (delete it if you find it) and instead make sure you have:
>> >>
>> >> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
>> >>
>> >> Jacopo
>> >>
>> >> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
>> >>
>> >>> Yes, error remains.
>> >>>
>> >>> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
>> >>> [hidden email]> wrote:
>> >>>
>> >>>> Have you tried running ant clean?
>> >>>>
>> >>>> -Adrian
>> >>>>
>> >>>>
>> >>>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>> >>>>
>> >>>>> Have been facing issues related to trunk (at r1343711) compilation
>> via
>> >>>>> ./ant (10.04 compiles with no errors)
>> >>>>>
>> >>>>> This is the error snippet -
>> >>>>>
>> >>>>> classes:
>> >>>>> [javac16] Compiling 3 source files to
>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>> >>>>> [javac16]
>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>> >>>>> base/util/template/**FreeMarkerWorker.java:87:
>> >>>>> cannot find symbol
>> >>>>> [javac16] symbol  : method setNullWildcards(boolean)
>> >>>>> [javac16] location: class freemarker.ext.beans.**BeansWrapper
>> >>>>> [javac16]         wrapper.setNullWildcards(true)**;
>> >>>>> [javac16]                ^
>> >>>>> [javac16] 1 error
>> >>>>>
>> >>>>> BUILD FAILED
>> >>>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
>> >> occurred
>> >>>>> while executing this line:
>> >>>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
>> >> error
>> >>>>> occurred while executing this line:
>> >>>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
>> >> occurred
>> >>>>> while executing this line:
>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>> >>>>> failed; see
>> >>>>> the compiler error output for details.
>> >>>>>
>> >>>>>
>> >>>
>> >>>
>> >>> --
>> >>> Regards,
>> >>> Varun Bhansaly
>> >>
>> >>
>> >
>> >
>> > --
>> > Regards,
>> > Varun Bhansaly
>>
>>
>
>
> --
> Regards,
> Varun Bhansaly
>
>


--
Regards,
Varun Bhansaly
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Jacopo Cappellato-4
cool

Jacopo

On May 29, 2012, at 5:02 PM, varun bhansaly wrote:

> It is solved now, did a svn st and found following
>
> ?       framework/example
> ?       framework/common/webcommon/WEB-INF/geolocation.ftl
> ?       framework/birt/lib/platform
> ?       framework/base/lib/freemarker-2.3.15.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-servlet-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-jsp-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-annotations-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-el-api.jar
> ?       framework/base/lib/scripting/groovy-all-1.7.3.jar
> ?       framework/base/lib/commons/commons-fileupload-1.2.jar
> ?       framework/entity/lib/jdbc/mysql-connector-java-5.1.10-bin.jar
> ?       framework/entity/lib/jdbc/postgresql-8.4-701.jdbc3.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli-adapters.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-dbcp.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina-tribes.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina-ha.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper-jdt.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper-el.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-coyote.jar
> ?       startofbiz.sh
>
> Not sure why they remained even after svn up, manually removed them &
> compiled again with success.
>
>
> On Tue, May 29, 2012 at 8:23 PM, varun bhansaly <[hidden email]> wrote:
>
>> Yes, error remains.
>>
>>
>> On Tue, May 29, 2012 at 8:15 PM, Jacopo Cappellato <
>> [hidden email]> wrote:
>>
>>> please confirm that you get the error if you run:
>>>
>>> ./ant clean build
>>>
>>> Jacopo
>>>
>>> On May 29, 2012, at 4:20 PM, varun bhansaly wrote:
>>>
>>>> freemarker-2.3.19.jar already absent.
>>>> freemarker-2.3.19-null-wildcards.jar already present.
>>>>
>>>> Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be
>>> the
>>>> issue.
>>>>
>>>> On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
>>>> [hidden email]> wrote:
>>>>
>>>>> Please make sure you don't have the following file:
>>>>>
>>>>> framework/base/lib/freemarker-2.3.19.jar
>>>>>
>>>>> (delete it if you find it) and instead make sure you have:
>>>>>
>>>>> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
>>>>>
>>>>> Jacopo
>>>>>
>>>>> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
>>>>>
>>>>>> Yes, error remains.
>>>>>>
>>>>>> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
>>>>>> [hidden email]> wrote:
>>>>>>
>>>>>>> Have you tried running ant clean?
>>>>>>>
>>>>>>> -Adrian
>>>>>>>
>>>>>>>
>>>>>>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>>>>>>>
>>>>>>>> Have been facing issues related to trunk (at r1343711) compilation
>>> via
>>>>>>>> ./ant (10.04 compiles with no errors)
>>>>>>>>
>>>>>>>> This is the error snippet -
>>>>>>>>
>>>>>>>> classes:
>>>>>>>> [javac16] Compiling 3 source files to
>>>>>>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>>>>>>>> [javac16]
>>>>>>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>>>>>>>> base/util/template/**FreeMarkerWorker.java:87:
>>>>>>>> cannot find symbol
>>>>>>>> [javac16] symbol  : method setNullWildcards(boolean)
>>>>>>>> [javac16] location: class freemarker.ext.beans.**BeansWrapper
>>>>>>>> [javac16]         wrapper.setNullWildcards(true)**;
>>>>>>>> [javac16]                ^
>>>>>>>> [javac16] 1 error
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
>>>>> occurred
>>>>>>>> while executing this line:
>>>>>>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
>>>>> error
>>>>>>>> occurred while executing this line:
>>>>>>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
>>>>> occurred
>>>>>>>> while executing this line:
>>>>>>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>>>>>>>> failed; see
>>>>>>>> the compiler error output for details.
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Varun Bhansaly
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Varun Bhansaly
>>>
>>>
>>
>>
>> --
>> Regards,
>> Varun Bhansaly
>>
>>
>
>
> --
> Regards,
> Varun Bhansaly

Reply | Threaded
Open this post in threaded view
|

Re: Error compiling trunk

Varun Bhansaly
In reply to this post by Varun Bhansaly
The only external jars added by me were -
framework/entity/lib/jdbc/mysql-connector-java-5.1.10-bin.jar
framework/entity/lib/jdbc/postgresql-8.4-701.jdbc3.jar

On Tue, May 29, 2012 at 8:32 PM, varun bhansaly <[hidden email]> wrote:

> It is solved now, did a svn st and found following
>
> ?       framework/example
> ?       framework/common/webcommon/WEB-INF/geolocation.ftl
> ?       framework/birt/lib/platform
> ?       framework/base/lib/freemarker-2.3.15.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-servlet-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-jsp-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-annotations-api.jar
> ?       framework/base/lib/j2eespecs/tomcat-6.0.26-el-api.jar
> ?       framework/base/lib/scripting/groovy-all-1.7.3.jar
> ?       framework/base/lib/commons/commons-fileupload-1.2.jar
> ?       framework/entity/lib/jdbc/mysql-connector-java-5.1.10-bin.jar
> ?       framework/entity/lib/jdbc/postgresql-8.4-701.jdbc3.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-juli-adapters.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-dbcp.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina-tribes.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina-ha.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper-jdt.jar
> ?       framework/catalina/lib/tomcat-6.0.26-catalina.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper-el.jar
> ?       framework/catalina/lib/tomcat-6.0.26-jasper.jar
> ?       framework/catalina/lib/tomcat-6.0.26-tomcat-coyote.jar
> ?       startofbiz.sh
>
> Not sure why they remained even after svn up, manually removed them &
> compiled again with success.
>
>
> On Tue, May 29, 2012 at 8:23 PM, varun bhansaly <[hidden email]>wrote:
>
>> Yes, error remains.
>>
>>
>> On Tue, May 29, 2012 at 8:15 PM, Jacopo Cappellato <
>> [hidden email]> wrote:
>>
>>> please confirm that you get the error if you run:
>>>
>>> ./ant clean build
>>>
>>> Jacopo
>>>
>>> On May 29, 2012, at 4:20 PM, varun bhansaly wrote:
>>>
>>> > freemarker-2.3.19.jar already absent.
>>> > freemarker-2.3.19-null-wildcards.jar already present.
>>> >
>>> > Error remains, am using Oracle JDK 1.6.0_26, not sure if that could be
>>> the
>>> > issue.
>>> >
>>> > On Tue, May 29, 2012 at 7:43 PM, Jacopo Cappellato <
>>> > [hidden email]> wrote:
>>> >
>>> >> Please make sure you don't have the following file:
>>> >>
>>> >> framework/base/lib/freemarker-2.3.19.jar
>>> >>
>>> >> (delete it if you find it) and instead make sure you have:
>>> >>
>>> >> framework/base/lib/freemarker-2.3.19-null-wildcards.jar
>>> >>
>>> >> Jacopo
>>> >>
>>> >> On May 29, 2012, at 4:09 PM, varun bhansaly wrote:
>>> >>
>>> >>> Yes, error remains.
>>> >>>
>>> >>> On Tue, May 29, 2012 at 7:00 PM, Adrian Crum <
>>> >>> [hidden email]> wrote:
>>> >>>
>>> >>>> Have you tried running ant clean?
>>> >>>>
>>> >>>> -Adrian
>>> >>>>
>>> >>>>
>>> >>>> On 5/29/2012 2:26 PM, varun bhansaly wrote:
>>> >>>>
>>> >>>>> Have been facing issues related to trunk (at r1343711) compilation
>>> via
>>> >>>>> ./ant (10.04 compiles with no errors)
>>> >>>>>
>>> >>>>> This is the error snippet -
>>> >>>>>
>>> >>>>> classes:
>>> >>>>> [javac16] Compiling 3 source files to
>>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build/classes
>>> >>>>> [javac16]
>>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/src/org/ofbiz/**
>>> >>>>> base/util/template/**FreeMarkerWorker.java:87:
>>> >>>>> cannot find symbol
>>> >>>>> [javac16] symbol  : method setNullWildcards(boolean)
>>> >>>>> [javac16] location: class freemarker.ext.beans.**BeansWrapper
>>> >>>>> [javac16]         wrapper.setNullWildcards(true)**;
>>> >>>>> [javac16]                ^
>>> >>>>> [javac16] 1 error
>>> >>>>>
>>> >>>>> BUILD FAILED
>>> >>>>> /home/varun.bhansaly/ofbiz/**build.xml:216: The following error
>>> >> occurred
>>> >>>>> while executing this line:
>>> >>>>> /home/varun.bhansaly/ofbiz/**framework/build.xml:148: The following
>>> >> error
>>> >>>>> occurred while executing this line:
>>> >>>>> /home/varun.bhansaly/ofbiz/**macros.xml:39: The following error
>>> >> occurred
>>> >>>>> while executing this line:
>>> >>>>> /home/varun.bhansaly/ofbiz/**framework/base/build.xml:90: Compile
>>> >>>>> failed; see
>>> >>>>> the compiler error output for details.
>>> >>>>>
>>> >>>>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Regards,
>>> >>> Varun Bhansaly
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > Varun Bhansaly
>>>
>>>
>>
>>
>> --
>> Regards,
>> Varun Bhansaly
>>
>>
>
>
> --
> Regards,
> Varun Bhansaly
>
>


--
Regards,
Varun Bhansaly