Using custom gosu classes from VEdit

8 views
Skip to first unread message

JP

unread,
Mar 10, 2011, 9:19:06 AM3/10/11
to Aardvark
Let's say I have a structure of:

src
build.vark

And the following vark file:

classpath "src"

uses some.path.from.src.Classy

function doSomething() {
var a = new Classy()
Ant.each(:message = 'Made it!'))
}

Though the file will compile and run fine, it shows up as errors in
Vedit. Is there any thought to adding in capabilities to allow
external classes to be recognized in Vedit? Something like what the
gosu editor allows (specifying the classpath through a menu).

JP

unread,
Mar 10, 2011, 9:19:35 AM3/10/11
to Aardvark
I meant Ant.echo* - whoops

Carson Gross

unread,
Mar 10, 2011, 12:31:41 PM3/10/11
to aardv...@googlegroups.com, JP
That should work.  Make sure that your using statement is relative to the 'src' directory, rather than the directory the vark file is in.

In Ronin projects, the 'support' directory is included on the path, and that works fine.

Cheers,
Carson
Reply all
Reply to author
Forward
0 new messages