You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Diego Cattelan <ca...@gmail.com> on 2019/05/27 13:21:40 UTC

Building from source requires en locale

Hi all, if I try to build Netbeans from source using my locale
"LANG=it_IT.UTF-8" the result is the below exception.

I must explicitly set LC_TIME=en_US to get a succesful build.

The same problem occurs both on linux and on windows 10.

Is "en" locale a requirement ? If it is please write it in build
instructions, ty.

model-gen:
     [echo] java.version=1.8.0_212, ant.version=Apache Ant(TM) version
1.9.14 compiled on March 12 2019
      [xjc]
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/jaxb
is not found and thus excluded from the dependency check
      [xjc] Compiling
file:/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/websvccommon/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServices.xsd
      [xjc] Writing output to
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/websvccommon/websvc.saas.api/src
  [nbmerge] Failed to build target: all-websvc.saas.api

BUILD FAILED
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/nbbuild/build.xml:514:
The following error occurred while executing this line:
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/nbbuild/build.xml:509:
The following error occurred while executing this line:
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/nbbuild/build.xml:556:
The following error occurred while executing this line:
/home/diego/sviluppo/third-party/incubating-netbeans-11.0-source/websvccommon/websvc.saas.api/build.xml:50:
java.lang.IllegalArgumentException: Illegal pattern character 'g'
    at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:826)
    at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:634)
    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:605)
    at com.sun.tools.xjc.Options.getPrologComment(Options.java:924)
    at com.sun.tools.xjc.Options.createCodeWriter(Options.java:909)
    at com.sun.tools.xjc.Options.createCodeWriter(Options.java:899)
    at com.sun.tools.xjc.XJC2Task._doXJC(XJC2Task.java:523)
    at com.sun.tools.xjc.XJC2Task.doXJC(XJC2Task.java:454)
    at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:379)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists