Hi,

Thank you. I was able to build both master and v3.5.0. Earlier it was my
fault, I forgot to export the MAVEN_OPTS after setting it.

Thanks

On Thu, Apr 21, 2016 at 8:48 PM, Rasika Perera <[email protected]> wrote:

> Hi Megala,
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
>> (default-compile) on project appserver-utils: Fatal error compiling:
>> invalid target release: 1.8 -> [Help 1]
>
> You need to compile with JDK1.8 for AS v6.0.0 master branch. Please refer
> [1].
>
> [INFO] WSO2 AppServer Distribution having apache ldap server feature
>> installed FAILURE [  3.839 s]
>> Exception in thread "main"
>> Exception: java.lang.OutOfMemoryError thrown from the
>> UncaughtExceptionHandler in thread "main"
>
> Try export MAVEN_OPTS='-Xmx512m -XX:MaxPermSize=128m'[2].
>
> [1] https://github.com/wso2/product-as/blob/master/pom.xml#L500
> [2] https://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
>
> On Thu, Apr 21, 2016 at 7:45 PM, Megala Uthayakumar <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am still getting the same errors. As per [1], I set MAVEN_OPTS="-Xms768m
>> -Xmx3072m -XX:MaxPermSize=1200m" . Still I am getting the same errors.
>>
>> [1] https://docs.wso2.com/display/AS530/Get+Involved
>>
>> Thanks
>>
>> On Thu, Apr 21, 2016 at 7:29 PM, Mushthaq Rumy <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Have you set the  MAVEN_OPTS="-Xmx128m -XX:MaxPermSize=128m"? If not set
>>> it and try to build it.
>>>
>>> Thanks & Regards,
>>>
>>> On Thu, Apr 21, 2016 at 7:18 PM, Megala Uthayakumar <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Hi All,
>>>>
>>>> I am trying to build the product-as from the source. When tried to
>>>> build v5.3.0, I got the following error and build failed.
>>>>
>>>> *[INFO] WSO2 AppServer Distribution having apache ldap server feature
>>>> installed FAILURE [  3.839 s]*
>>>>
>>>> *Exception in thread "main" *
>>>> *Exception: java.lang.OutOfMemoryError thrown from the
>>>> UncaughtExceptionHandler in thread "main"*
>>>>
>>>> After that I tried to build from the master branch, but got following
>>>> error,
>>>> *[INFO] WSO2 Application Server - Module - Utils ........... FAILURE [
>>>>  1.542 s]*
>>>>
>>>> *[ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
>>>> (default-compile) on project appserver-utils: Fatal error compiling:
>>>> invalid target release: 1.8 -> [Help 1]*
>>>>
>>>> I am using oracle JDK 1.7.0_80 and my maven version is 3.3.9
>>>>
>>>> Could someone point out what is the cause for these errors?
>>>>
>>>> Thank you.
>>>>
>>>> Regards,
>>>> Megala
>>>>
>>>> --
>>>> Megala Uthayakumar
>>>>
>>>> Software Engineer
>>>> Mobile : 0779967122
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Mushthaq Rumy
>>> *Software Engineer*
>>> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
>>> Email : [email protected]
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middleware.
>>>
>>
>>
>>
>> --
>> Megala Uthayakumar
>>
>> Software Engineer
>> Mobile : 0779967122
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: [email protected]
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Megala Uthayakumar

Software Engineer
Mobile : 0779967122
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to