NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
javydreamercsw
Joined: 22 Jun 2009 Posts: 456
|
Posted: Wed May 09, 2012 4:49 pm Post subject: [platform-dev] Re: No dependent module error |
|
|
Maybe the cnd module exposes a token you can use instead...
On Wed, May 9, 2012 at 11:41 AM, Martin Velek <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi,
I added a dependency on the C/C++ support to my module, since it works with C/C++ files, but it doesn't use anything from the module API (it's not even public). I just wanted it to be dependent on that module, because my module is kind of useless without it. Anyway when I try to build my module I get this error:
| Quote: | C:\Program Files\NetBeans\harness\build.xml:174: No dependent module org.netbeans.modules.cnd.kit
|
This is what's on the line 174 in build.xml (asterisk marks the specified line):
| Quote: | <parseprojectxml
project="."
publicpackagesproperty="public.packages"
friendsproperty="friends"
javadocpackagesproperty="module.javadoc.packages"
moduledependenciesproperty="module.dependencies"
moduleclasspathproperty="module.classpath"
publicpackagejardir="${public.package.jar.dir}"
moduleprocessorclasspathproperty="module.processor.classpath"
modulerunclasspathproperty="module.run.classpath"
classpathextensionsproperty="class.path.extensions"
* >
<testtype name="unit"
runtimecp="test.unit.runtime.cp"
compilecp="test.unit.compile.cp"
compiledep="test.unit.testdep"/>
<testtype name="qa-functional"
runtimecp="test.qa-functional.runtime.cp"
compilecp="test.qa-functional.compile.cp"
compiledep="test.qa-functional.testdep"/>
</parseprojectxml>
|
I don't know whether it is relevant or not, but in any case the module is written in Java... I checked and the module's jar is in "C:\Program Files\NetBeans\cnd\modules". Any idea what's causing it? I really need to set that dependency. Thank you for your time and help.
Best wishes
Martin
|
|
|
| Back to top |
|
 |
MalevolentCat
Joined: 21 Nov 2011 Posts: 20
|
Posted: Thu May 10, 2012 11:25 am Post subject: [platform-dev] Re: No dependent module error |
|
|
There indeed are some tokens to use. Does it ensure that the C/C++ support module is available and ready when my module is installed (or that the C/C++ support module gets installed when my module is being installed)? That is basically what I need the most. I found a mention that the provided token classes can be accessed via lookup, but how? Lookup.getDefault().lookup(CsmModule.class) screams that the class doesn't exist (even though it is described in Required Tokens tab in Project Properties dialog). Also there is no javadoc regarding the tokens provided by the C/C++ support module. Where can I find some documentation?
2012/5/9 Javier Ortiz <address-removed ([email]address-removed[/email])>
| Quote: | Maybe the cnd module exposes a token you can use instead...
On Wed, May 9, 2012 at 11:41 AM, Martin Velek <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi,
I added a dependency on the C/C++ support to my module, since it works with C/C++ files, but it doesn't use anything from the module API (it's not even public). I just wanted it to be dependent on that module, because my module is kind of useless without it. Anyway when I try to build my module I get this error:
| Quote: | C:\Program Files\NetBeans\harness\build.xml:174: No dependent module org.netbeans.modules.cnd.kit
|
This is what's on the line 174 in build.xml (asterisk marks the specified line):
|
| Back to top |
|
 |
|
|
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 can attach files in this forum You can download files in this forum
|
|
|
| |