NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Harness Dir

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
David G. Simmons
Posted via mailing list.





PostPosted: Fri Sep 05, 2008 3:00 pm    Post subject: Harness Dir Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I know this should be an easy one, but I can't find an answer:

/Users/davidgs/SVNDevelopment/NetBeansModules/trunk/SunSpotModules/
nbproject/build-impl.xml:19: You must define
'nbplatform.default.harness.dir'

I googled around and found a bunch of stuff that seemed to apply only
if you wanted to define your own platform. I'm just trying to build
some modules for 6.1 and the platform seems to be defined in the
preferences correctly.

So how and where do I define this? I'm stumped, as NetBeans generated
all the code for these Modules, but didn't seem to handle this step ...

thanks,
dg
- --
David G. Simmons
Staff Engineer, SunLabs
Voice: 650-568-4856 ** AIM/iChat: address-removed
BLOG: http://blogs.sun.com/davidgs
Program the world! http://www.SunSpotWorld.com/

** Message digitally signed for security and authenticity.
** If you cannot read the PGP.sig attachement, please go to
** http://www.gnupg.com/ Secure your email!!!
** Public key available at keyserver.pgp.com
NOTE: As per SunIT Policy, the following is *not* a humorous statement:
If you get to thinkin' you're a person of some influence, try orderin'
somebody else's dog around.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFIwUlqJPG+temRST4RAl7XAKCAjGQT62aOdpFdVoeibblAkdtRTQCfYt6+
PRFKEhenOUlylH3TvDh4Yks=
=dDxL
-----END PGP SIGNATURE-----
Back to top
tomwheeler



Joined: 03 Sep 2008
Posts: 950

PostPosted: Fri Sep 05, 2008 3:06 pm    Post subject: Harness Dir Reply with quote

On 9/5/08, David G. Simmons <address-removed> wrote:
...
Quote:
You must define 'nbplatform.default.harness.dir'
...
Quote:
So how and where do I define this? I'm stumped, as NetBeans generated all
the code for these Modules, but didn't seem to handle this step ...

If everything was generated and you have this problem, then you have
found a bug and should file a report so it gets fixed.

In the meantime, you can probably workaround the problem by defining
this in your suite's nbproject/platform.properties file:

nbplatform.default.harness.dir=/home/twheeler/netbeans/6.1/harness

Obviously you will need to change the path to point to the harness
subdirectory of your NetBeans installation. If you use Windows, use
forward slashes (e.g. c:/netbeans/6.1/harness).

--
Tom Wheeler
http://www.tomwheeler.com/
Back to top
David G. Simmons
Posted via mailing list.





PostPosted: Fri Sep 05, 2008 3:19 pm    Post subject: Harness Dir Reply with quote

On Sep 5, 2008, at 11:06 AM, Tom Wheeler wrote:

Quote:
On 9/5/08, David G. Simmons <address-removed> wrote:
...
Quote:
You must define 'nbplatform.default.harness.dir'
...
Quote:
So how and where do I define this? I'm stumped, as NetBeans
generated all
the code for these Modules, but didn't seem to handle this step ...

If everything was generated and you have this problem, then you have
found a bug and should file a report so it gets fixed.

I kinda thought so ...

Quote:
In the meantime, you can probably workaround the problem by defining
this in your suite's nbproject/platform.properties file:

nbplatform.default.harness.dir=/home/twheeler/netbeans/6.1/harness

Obviously you will need to change the path to point to the harness
subdirectory of your NetBeans installation. If you use Windows, use
forward slashes (e.g. c:/netbeans/6.1/harness).

Thanks! That fixed it right up! Now, if I could figure out why the
default platform seems to not get defined, I could file an issue ...

Thanks for the fast and informative answer.

dg
--
David G. Simmons
address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo