[nbdev] Property Evaluation Inside of an 'nblibraries.properties' File

  • From: < >
  • To: < >
  • Subject: [nbdev] Property Evaluation Inside of an 'nblibraries.properties' File
  • Date: Wed, 28 Nov 2012 13:32:45 -0700

I am trying to make it easier for other developers to use my nbplatform-dependent libraries outside of an RCP application.  I have an ‘nblibraries.properties’ file for this purpose, and this file contains references to a property that the user defines inside of his or her own (java application) project.


When the project defines this property, the project builds fine both inside and outside of the IDE.  However, the IDE (7.2.1) reports a reference problem, as it does not know evaluate this property.  I have tried defining the property in both ‘nbproject/project.properties’ and ‘nbproject/private/private.properties’.  No luck.


While the IDE does not know how to evaluate my own property, it seems to know how to evaluate ${base} just fine.  Perhaps this is a hard-coded special case?  I went looking into the source to see just what determines which properties the project type will evaluate, but this appears to be an onion with many layers.  Help?


Dave Charles

Principal Software Engineer

Microchip Technology, Inc.


[nbdev] Property Evaluation Inside of an 'nblibraries.properties' File

Dave.Charles 11/28/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm