{"action":"created","issue":{"url":"https://api.github.com/repos/jakejustus/pct/issues/112","labels_url":"https://api.github.com/repos/jakejustus/pct/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/jakejustus/pct/issues/112/comments","events_url":"https://api.github.com/repos/jakejustus/pct/issues/112/events","html_url":"https://github.com/jakejustus/pct/issues/112","id":105319532,"number":112,"title":"Failed to create task or type PCTConnection","user":{"login":"schnitty","id":6099451,"avatar_url":"https://avatars.githubusercontent.com/u/6099451?v=3","gravatar_id":"","url":"https://api.github.com/users/schnitty","html_url":"https://github.com/schnitty","followers_url":"https://api.github.com/users/schnitty/followers","following_url":"https://api.github.com/users/schnitty/following{/other_user}","gists_url":"https://api.github.com/users/schnitty/gists{/gist_id}","starred_url":"https://api.github.com/users/schnitty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schnitty/subscriptions","organizations_url":"https://api.github.com/users/schnitty/orgs","repos_url":"https://api.github.com/users/schnitty/repos","events_url":"https://api.github.com/users/schnitty/events{/privacy}","received_events_url":"https://api.github.com/users/schnitty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T07:37:13Z","updated_at":"2015-09-08T08:30:45Z","closed_at":null,"body":"I am going through the quick start in your documentation and the build is failing on step 2.\r\nHere is the full output from the command line:\r\n\r\n    C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\\workspace\\MyProject>ant -v\r\n    Apache Ant(TM) version 1.9.6 compiled on June 29 2015\r\n    Trying the default build file: build.xml\r\n    Buildfile: C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\\workspace\\MyProject\\build.xml\r\n    Detected Java version: 1.8 in: C:\\Progra~1\\Java\\jdk1.8.0_60\\jre\r\n    Detected OS: Windows 7\r\n    parsing buildfile C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\r\n    \\workspace\\MyProject\\build.xml with URI = file:/C:/Users/Administrator/Progress/Develope\r\n    r%20Studio%204.3.1/workspace/MyProject/build.xml\r\n    Project base dir set to: C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\r\n    \\workspace\\MyProject\r\n    parsing buildfile jar:file:/C:/apache-ant-1.9.6/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI =  \r\n    jar:file:/C:/apache-ant-1.9.6/lib/ant.jar!/org/apache/to\r\n    ols/ant/antlib.xml from a zip file\r\n     [property] Loading Environment env.\r\n    Property \"env.PCT_HOME\" has not been set\r\n    dropping C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1   \r\n    \\workspace\\MyProject\\${env.PCT_HOME}\\lib\\PCT.jar from path as it doesn't exist\r\n    Build sequence for target(s) `build' is [build]\r\n    Complete build sequence is [build, ]\r\n\r\n    build:\r\n    [PCTVersion] PCT Version 1.1-pre - Build 194\r\n    [ProgressVersion] dlcHome attribute not set. Falling back to DLC environment variable :    \r\n    c:\\progress\\v115\r\n    [ProgressVersion] OpenEdge version found : OpenEdge Release 11.5.1 as of Wed May  6 19:01:46 EDT 2015\r\n    [ProgressVersion] Using object : com.phenix.pct.ProgressV114\r\n    [PCTCreateBase] OpenEdge version found : OpenEdge Release 11.5.1 as of Wed May  6 \r\n    19:01:46 EDT 2015\r\n    [PCTCreateBase] Using object : com.phenix.pct.ProgressV114\r\n    [PCTCreateBase] Copying empty DB to db\r\n    [PCTCreateBase] Current OS is Windows 7\r\n    [PCTCreateBase] Output redirected to C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.\r\n    \\workspace\\MyProject\\db\\db.procopy.log\r\n    [PCTCreateBase] Setting environment variable: DLC=c:\\progress\\v115\r\n    [PCTCreateBase] Executing 'c:\\progress\\v115\\bin\\_dbutil.exe' with arguments:    \r\n    [PCTCreateBase] 'procopy'\r\n    [PCTCreateBase] 'c:\\progress\\v115\\empty8'\r\n    [PCTCreateBase] 'db'\r\n    [PCTCreateBase]\r\n    [PCTCreateBase] The ' characters around the executable and arguments are\r\n    [PCTCreateBase] not part of the command.\r\n    [PCTCreateBase] OpenEdge version found : OpenEdge Release 11.5.1 as of Wed May  6\r\n    19:01:46 EDT 2015\r\n    [PCTCreateBase] Using object : com.phenix.pct.ProgressV114\r\n    [PCTCreateBase] cpstream is not defined. You may have problems if file names have characters\r\n    outside of ASCII range. You really should define it !\r\n    [PCTCreateBase] Current OS is Windows 7\r\n    [PCTCreateBase] Setting environment variable: DLC=c:\\progress\\v115\r\n    [PCTCreateBase] Executing 'c:\\progress\\v115\\bin\\_progres.exe' with arguments:\r\n    [PCTCreateBase] '-b'\r\n    [PCTCreateBase] '-q'\r\n    [PCTCreateBase] '-p'\r\n    [PCTCreateBase] 'C:\\Users\\SCHNEI~1\\AppData\\Local\\Temp\\pctinit29301.p'\r\n    [PCTCreateBase]\r\n    [PCTCreateBase] The ' characters around the executable and arguments are\r\n    [PCTCreateBase] not part of the command.\r\n    [PCTCreateBase] Loading C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.\r\n    \\workspace\\MyProject\\db\\db.df in database\r\n    [mkdir] Skipping C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.\r\n    \\workspace\\MyProject\\build because it already exists.\r\n\r\n    BUILD FAILED\r\n    C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\\workspace\\MyProject\\build.xml:13: \r\n    Problem: failed to create task or type PCTConnection\r\n    Cause: The name is undefined.\r\n    Action: Check the spelling.\r\n    Action: Check that any custom tasks/types have been declared.\r\n    Action: Check that any <presetdef>/<macrodef> declarations have taken place.\r\n\r\n        at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:500)\r\n        at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:432)\r\n        at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)\r\n        at org.apache.tools.ant.Task.perform(Task.java:347)\r\n        at org.apache.tools.ant.Target.execute(Target.java:435)\r\n        at org.apache.tools.ant.Target.performTasks(Target.java:456)\r\n        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)\r\n        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)\r\n        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)\r\n        at org.apache.tools.ant.Main.runBuild(Main.java:853)\r\n        at org.apache.tools.ant.Main.startAnt(Main.java:235)\r\n        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)\r\n        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)\r\n\r\n    Total time: 1 second\r\n\r\n    C:\\Users\\Administrator\\Progress\\Developer Studio 4.3.1\\workspace\\MyProject>\r\n\r\nI got through step 1 ok but connecting to the database before building doesn't seem to be working for me.\r\n\r\nThe db.lg and db.procopy files seem to indicate that the database was created ok.  I can provide if necessary.\r\n\r\nI am new to Progress OpenEdge and Developer Studio so please go easy on me if I am missed something silly.\r\n\r\nI have been following the QuickStart and have been copying and pasting from that so there shouldn't be any issues with the build.xml or .p or .df files.  I can of course provide those if necessary.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jakejustus/pct/issues/comments/138476451","html_url":"https://github.com/jakejustus/pct/issues/112#issuecomment-138476451","issue_url":"https://api.github.com/repos/jakejustus/pct/issues/112","id":138476451,"user":{"login":"jakejustus","id":6498730,"avatar_url":"https://avatars.githubusercontent.com/u/6498730?v=3","gravatar_id":"","url":"https://api.github.com/users/jakejustus","html_url":"https://github.com/jakejustus","followers_url":"https://api.github.com/users/jakejustus/followers","following_url":"https://api.github.com/users/jakejustus/following{/other_user}","gists_url":"https://api.github.com/users/jakejustus/gists{/gist_id}","starred_url":"https://api.github.com/users/jakejustus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakejustus/subscriptions","organizations_url":"https://api.github.com/users/jakejustus/orgs","repos_url":"https://api.github.com/users/jakejustus/repos","events_url":"https://api.github.com/users/jakejustus/events{/privacy}","received_events_url":"https://api.github.com/users/jakejustus/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T08:30:44Z","updated_at":"2015-09-08T08:30:44Z","body":"Hi,\r\n\r\nYou may want to add ```<typedef resource=\"types.properties\" />``` after the ```<taskdef>``` node.\r\nThat's written in the InstallDocumentation page, but not in the QuickStart page, I'll update this part.\r\n\r\nGilles"}}