Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 20 2018 12:11
  • Nov 09 2018 10:14
  • Aug 12 2018 15:23
  • Mar 06 2018 01:17
    soleverlee commented #17
  • Feb 14 2018 11:29
    Xianguang-Zhou starred tunnelvisionlabs/antlrworks2
  • Dec 21 2017 08:51
    debashish2014 starred tunnelvisionlabs/antlrworks2
  • Dec 07 2017 09:04
  • Sep 04 2017 02:44
    tvkit opened #68
  • Sep 01 2017 03:32
    ooinfo commented #17
  • Aug 21 2017 05:26
    Proudmary01 commented #17
  • Jul 19 2017 02:47
    sharwell labeled #67
  • Jul 19 2017 02:47
    sharwell labeled #67
  • Jul 19 2017 02:47

    sharwell on master

    Fix off-by-one error when navig… Merge pull request #67 from sha… (compare)

  • Jul 19 2017 02:47
    sharwell closed #67
  • Jul 19 2017 02:46
    sharwell opened #67
  • Jul 19 2017 02:43

    sharwell on master

    Improved cost estimation for pr… Merge pull request #66 from sha… (compare)

  • Jul 19 2017 02:43
    sharwell closed #66
  • Jul 19 2017 02:43

    sharwell on master

    Update to NetBeans 8.2 Merge pull request #63 from sha… (compare)

  • Jul 19 2017 02:43
    sharwell closed #63
  • Jul 19 2017 02:43

    sharwell on master

    Fix Go To Definition for channe… Fix smart indent of the first I… Merge pull request #64 from sha… (compare)

Julio César Rocha
@JunielKatarn
Inside the antlworks source directory, ran this command:
ant -Dnbplatform.nb801.netbeans.dest.dir='D:\Extra\antlr\netbeans801\platform' -Dnbplatform.nb801.harness.dir='D:\Extra\antlr\netbeans801\harness' clean
Got this output:
BUILD FAILED
D:\Extra\antlr\sam\build.xml:7: The following error occurred while executing this line:
D:\Extra\antlr\sam\nbproject\build-impl.xml:42: Cannot find NetBeans build harness.
Check that nbplatform.nb801.netbeans.dest.dir and nbplatform.nb801.harness.dir are defined.
On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties
but for automated builds you should pass these properties to Ant explicitly.
You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml
Note: This happened for both NetBeans 8.0.1 and 8.0.2.
If we can sort out the right process to build, I can add a wiki for others to never run into these issues.
Sam Harwell
@sharwell
Interesting.
I normally set the build harness by opening NetBeans
  1. Tools → NetBeans Platforms
  2. Add Platform...
  3. Set the File name: to the location where you extracted the OS Independent Zip.
Since you are likely using the NetBeans 8.0.2 distribution, which will have the platform name nb802, you'll also want to update the configuration for ANTLRWorks2 to use this version.
After following the above 3 steps, open the file ANTLRWorks 2 source file nbproject/platform.properties. Change the last line from nb801 to nb802.
Sam Harwell
@sharwell
I would prefer for all of the above steps to be automatic, including downloading the platform if one is not available. But first I'll be delighted to have another person simply able to build. :smile:
Alexander Schell
@Quurz
Helo Sam, Hello Juniel :)
Sam Harwell
@sharwell
Good morning @JunielKatarn and @Quurz
Very early morning here
I think 8 or 9 hours time difference
Alexander Schell
@Quurz
Here it's 1230 pm...I've slept long... :D
Sam Harwell
@sharwell
630 am
only 6 hours, didn't realize that
Alexander Schell
@Quurz
That's way to early in my opinion...It's enough to get up this early during the week...
Sorry: 0130 pm...That makes seven hours...
Sam Harwell
@sharwell
I posted build instructions above regarding the NetBeans build harness. I believe that was the area where you ran into problems as well @Quurz
Alexander Schell
@Quurz
I retried the build a second time: The error is reproducable...
Sam Harwell
@sharwell
back in a few minutes making :tea:
Alexander Schell
@Quurz
Sure...Good Idea: Will get some tea for myself too... :)
Alexander Schell
@Quurz
Back again...
Sam Harwell
@sharwell
Ah yes
the error you saw is #31
Alexander Schell
@Quurz
Yep, this looks familiar...
Sam Harwell
@sharwell
I submitted a pull request (#50) to fix it. But I don't have a non-Windows system so I don't know if it works.
You can apply those changes to your copy of build.xml (or download the file and overwrite the one you have).
Alexander Schell
@Quurz
Okay...I'll try this...
Sam Harwell
@sharwell
downloading is the best option, then I know we're on the same code
When someone can confirm that it works, I'll merge #50 and then it will be working for everyone. :smile: Or at least that part will be working.
Alexander Schell
@Quurz
Just downloaded it...
I give it a try now.
Ojwej...I've done something wrong...Let's see...
I got this error: Target "projectized-common.clean" does not exist in the project "org.antlr.works.editor". It is used from target "clean".
I'm trying to find the cause
Sam Harwell
@sharwell
oops, I sent you the right link but you need to save it as org-antlr-works-editor/build.xml
Sounds like you overwrote the root build.xml. Do you still have a copy of that file in the downloaded source code, or do you need a link to it?
Alexander Schell
@Quurz
Yay...And didn't make a backup of this file...I could bite myself... :/
Sam Harwell
@sharwell
After you have this working, you can spend some time with some Git tutorials and then you'll never be worried about things like this happening :D
Alexander Schell
@Quurz
Mhm, I'll clean up my playground, unzip 'antlrworks2-bfee49a9b029625ef3bffeaa1b026d2bbc95b61d.zip' again and then I'll have restored the right file- and directory-structure, I think...
It's the first time I'm playing around with git...I'm coming from subversion... :)
Sam Harwell
@sharwell
I used subversion for everything in the past. All of my subversion repositories are now Git repositories
And not just because GitHub. It just works that much better.
Alexander Schell
@Quurz
My company is on the move to Git too; I'm overude to take a look at it...
Okay...I've now downloaded the build-file to the correct folder - Well, I hope so...
Next try...
Yay! Build successful! :D
Sam, would you like to have a copy of the generated output?
Sam Harwell
@sharwell
Can you post a comment in #50 saying the build now works for you?
Alexander Schell
@Quurz
There a lot of warnings and I thought, you might be interested in it...?