Menu

Home

Gilles QUERRET

Set of Ant tasks to compile Progress code using XREF, dump/load Progress databases, and so on. Source code and releases can now be found at https://code.google.com/p/pct/


Project Admins:


Discussion

  • Pieter Brouwer

    Pieter Brouwer - 2014-03-27

    What am I missing in my configuration?

    I have ant 1.9.3 installed on my machine (on d:\apache\ant).
    I have environment ANT_HOME set to d:\apache\ant.
    I have placed PCT-184.jar in d:\apache\ant\lib.
    I have a simple build.xml-file (see attachment), but when I do

    ant -v

    I get this:

    D:\projecten\anttest>ant -v
    Apache Ant(TM) version 1.9.3 compiled on December 23 2013
    Trying the default build file: build.xml
    Buildfile: D:\projecten\anttest\build.xml
    Detected Java version: 1.5 in: C:\Progress\OpenEdge10.2B\jdk\jre
    Detected OS: Windows Vista
    parsing buildfile D:\projecten\anttest\build.xml with URI = file:/D:/projecten/anttest/build.xml
    Project base dir set to: D:\projecten\anttest
    parsing buildfile jar:file:/D:/apache/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/D:/apache/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    [property] Loading Environment env.
    Build sequence for target(s) `default' is [default]
    Complete build sequence is [default, ]

    default:
    [echo] target default
    [echo] DLC = "C:\Progress\OpenEdge10.2B"
    [PCTVersion] PCT Version 1.1-pre - Build 184

    BUILD FAILED
    D:\projecten\anttest\build.xml:17: java.lang.NoSuchMethodError: java.util.Arrays.copyOfRange([BII)[B
    at com.phenix.pct.RCodeInfo.readDebugListing(RCodeInfo.java:136)
    at com.phenix.pct.RCodeInfo.<init>(RCodeInfo.java:71)
    at com.phenix.pct.RCodeInfo.<init>(RCodeInfo.java:55)
    at com.phenix.pct.DLCVersion.readArch(DLCVersion.java:100)
    at com.phenix.pct.DLCVersion.getObject(DLCVersion.java:79)
    at com.phenix.pct.PCT.setDlcHome(PCT.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.IntrospectionHelper$7.set(IntrospectionHelper.java:1107)
    at org.apache.tools.ant.IntrospectionHelper$AttributeSetter.setObject(IntrospectionHelper.java:1493)
    at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:411)
    at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:528)
    at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:464)
    at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
    at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:199)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)</init></init>

    Total time: 0 seconds

     
    • Gilles QUERRET

      Gilles QUERRET - 2014-03-27

      PCT has moved to http://code.google.com/p/pct, please use the Wiki and bugtracker there for your questions.
      PCT requires Java 1.6+, and you're using Java 1.5 (from %DLC%\jdk\jre)

       
      • Pieter Brouwer

        Pieter Brouwer - 2014-03-27

        Thnx for your reply. Using a higher version of java indeed does the
        trick. I will use the code.google.com from now on.

        On Thu, Mar 27, 2014 at 4:19 PM, Gilles QUERRET
        justus_phenix@users.sf.net wrote:

        PCT has moved to http://code.google.com/p/pct, please use the Wiki and
        bugtracker there for your questions.
        PCT requires Java 1.6+, and you're using Java 1.5 (from %DLC%\jdk\jre)


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/pct/wiki/Home/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

Log in to post a comment.

MongoDB Logo MongoDB