Discussion:
Module dependency has friend dependency
gcameo
2010-04-22 22:04:32 UTC
Permalink
Hi All,
I am unable to build my platform maven application.

Each time I try to build, the build fails with




Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.



I have added this declaration to my pom.xml

Code:

<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>




And this to my module.xml

Code:

<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>




But it still doesn't work.

Any form of help will be very much appreciated.

Regards

Farouk A
Milos Kleint
2010-04-23 05:34:26 UTC
Permalink
you either have declare implementation dependency
<explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.

Milos
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
gcameo
2010-04-23 10:40:06 UTC
Permalink
Hi Thanks.

Can you give an example on how this implementation dependency is done in a maven based application.

I was thinking that is what I have done in my module.xml.

Kind regards
you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
       <dependency>
           <groupId>org.netbeans.modules</groupId>
           <artifactId>org-netbeans-modules-xml-text</artifactId>
           <version>RELEASE68</version>
       </dependency>
And this to my module.xml
<dependencies>
<dependency>
  <id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
  <type>spec</type>
  <explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
Milos Kleint
2010-04-23 11:13:22 UTC
Permalink
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done in a
maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation version
from the module's manifest..

Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx =
yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
Post by gcameo
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
gcameo
2010-04-23 12:55:28 UTC
Permalink
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution, I added this

Code:

<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>




But that only led to another issue with this as the error message



Code:

Private classes referenced in module: [org.netbeans.modules.xml.schema.completion.CompletionResultItem, org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68





Does that mean that I cannot use these classes in my project.

Regards
Post by Milos Kleint
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done in a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation version from the module's manifest..
Milos
 
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
 Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
       <dependency>
           <groupId>org.netbeans.modules</groupId>
           <artifactId>org-netbeans-modules-xml-text</artifactId>
           <version>RELEASE68</version>
       </dependency>
And this to my module.xml
<dependencies>
<dependency>
  <id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
  <type>spec</type>
  <explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
Milos Kleint
2010-04-23 14:12:02 UTC
Permalink
check the nbm-plugin parameter for ignoring validation errors.. the
validation was not made to recognize custom explicit values.. feel free to
file as bug or sumbit a patch.

Milos
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution, I added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 =
5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done
in a maven based application.
Post by gcameo
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
Post by gcameo
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
Post by gcameo
Post by gcameo
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
Post by gcameo
Post by gcameo
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
Gabriele Kahlout
2010-08-09 09:29:58 UTC
Permalink
okay a bug is that there is no space between 1 and but, where but is
part of the message while 1 is the version no!
The dependecy is specified as:

<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
1</explicitValue>
</dependency>
</dependencies>


Yet, that doesn't solve the problem. At run-time I'm told:
The module named org.netbeans.modules.editor.settings.storage/1 was
needed and not found.
complained too early (after hours of searching), but i still have a
[platform-dev] Re: [platform-devtyutryyttTTtRTtrtrTrttre] Re: Build
issue with NBM module migrating from 2.6?t
Follows my module.xml. This allows to build the module and project,
For input string: "1but"
at
org.openide.modules.Dependency.checkCodeName(Dependency.java:194)
at org.openide.modules.Dependency.create(Dependency.java:293)
at org.netbeans.Module.initDeps(Module.java:674)
at org.netbeans.Module.parseManifest(Module.java:456)
Caused: org.netbeans.InvalidException: While parsing
com.mysimpatico.MemoPlatform.Editor a dependency attribute
at org.netbeans.Module.parseManifest(Module.java:458)
at org.netbeans.StandardModule.<init>(StandardModule.java:137)
at org.netbeans.ModuleFactory.create(ModuleFactory.java:69)
at org.netbeans.ModuleManager.create(ModuleManager.java:517)
at
org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1593)
at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
at
org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
at
org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
at org.netbeans.core.startup.Main.start(Main.java:302)
at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
[catch] at java.lang.Thread.run(Thread.java:637)
Could this be a bug?
<?xml version="1.0" encoding="UTF-8"?>
<nbm>
<!--<moduleType>autoload</moduleType>-->
<!--<codeNameBase>com.mysimpatico.memoplatformeditor/1</codeNameBase>-->
<licenseName>Apache License, Version 2.0</licenseName>
<licenseFile>license.txt</licenseFile>
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
7.38.1</explicitValue>
</dependency>
</dependencies>
</nbm>
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.
I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.
I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a
solution,
I
added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 =
5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done
in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue>
xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Milos Kleint
2010-08-10 05:22:29 UTC
Permalink
type impl not spec.. are you sue the = 1 is correct? it smells to me.. it
shall be the implementation version

mk

On Mon, Aug 9, 2010 at 11:29 AM, Gabriele Kahlout
Post by Gabriele Kahlout
okay a bug is that there is no space between 1 and but, where but is
part of the message while 1 is the version no!
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
1</explicitValue>
</dependency>
</dependencies>
The module named org.netbeans.modules.editor.settings.storage/1 was
needed and not found.
[platform-dev] Re: [platform-devtyutryyttTTtRTtrtrTrttre] Re: Build
issue with NBM module migrating from 2.6?t
Follows my module.xml. This allows to build the module and project,
For input string: "1but"
at
org.openide.modules.Dependency.checkCodeName(Dependency.java:194)
at org.openide.modules.Dependency.create(Dependency.java:293)
at org.netbeans.Module.initDeps(Module.java:674)
at org.netbeans.Module.parseManifest(Module.java:456)
Caused: org.netbeans.InvalidException: While parsing
com.mysimpatico.MemoPlatform.Editor a dependency attribute
at org.netbeans.Module.parseManifest(Module.java:458)
at org.netbeans.StandardModule.<init>(StandardModule.java:137)
at org.netbeans.ModuleFactory.create(ModuleFactory.java:69)
at org.netbeans.ModuleManager.create(ModuleManager.java:517)
at
org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1593)
at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
at
org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
at
org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
at org.netbeans.core.startup.Main.start(Main.java:302)
at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
[catch] at java.lang.Thread.run(Thread.java:637)
Could this be a bug?
<?xml version="1.0" encoding="UTF-8"?>
<nbm>
<!--<moduleType>autoload</moduleType>-->
<!--<codeNameBase>com.mysimpatico.memoplatformeditor/1</codeNameBase>-->
<licenseName>Apache License, Version 2.0</licenseName>
<licenseFile>license.txt</licenseFile>
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
7.38.1</explicitValue>
</dependency>
</dependencies>
</nbm>
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.
I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.
I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution,
I
added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Post by gcameo
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is
done
Post by gcameo
Post by gcameo
in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
Post by gcameo
Post by gcameo
Post by gcameo
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) √ In(48h, TimeNow) √ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) √ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∹ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) √ In(48h, TimeNow) √ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) √ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∹ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) √ In(48h, TimeNow) √ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) √ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∹ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Gabriele Kahlout
2010-08-10 07:03:31 UTC
Permalink
which =1 , did u see my latest post:
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
201008021402</explicitValue>

It works!
Post by Milos Kleint
type impl not spec.. are you sue the = 1 is correct? it smells to me.. it
shall be the implementation version
mk
On Mon, Aug 9, 2010 at 11:29 AM, Gabriele Kahlout
Post by Gabriele Kahlout
okay a bug is that there is no space between 1 and but, where but is
part of the message while 1 is the version no!
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
1</explicitValue>
</dependency>
</dependencies>
The module named org.netbeans.modules.editor.settings.storage/1 was
needed and not found.
[platform-dev] Re: [platform-devtyutryyttTTtRTtrtrTrttre] Re: Build
issue with NBM module migrating from 2.6?t
Follows my module.xml. This allows to build the module and project,
For input string: "1but"
at
org.openide.modules.Dependency.checkCodeName(Dependency.java:194)
at org.openide.modules.Dependency.create(Dependency.java:293)
at org.netbeans.Module.initDeps(Module.java:674)
at org.netbeans.Module.parseManifest(Module.java:456)
Caused: org.netbeans.InvalidException: While parsing
com.mysimpatico.MemoPlatform.Editor a dependency attribute
at org.netbeans.Module.parseManifest(Module.java:458)
at org.netbeans.StandardModule.<init>(StandardModule.java:137)
at org.netbeans.ModuleFactory.create(ModuleFactory.java:69)
at org.netbeans.ModuleManager.create(ModuleManager.java:517)
at
org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1593)
at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
at
org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
at
org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
at org.netbeans.core.startup.Main.start(Main.java:302)
at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
[catch] at java.lang.Thread.run(Thread.java:637)
Could this be a bug?
<?xml version="1.0" encoding="UTF-8"?>
<nbm>
<!--<moduleType>autoload</moduleType>-->
<!--<codeNameBase>com.mysimpatico.memoplatformeditor/1</codeNameBase>-->
<licenseName>Apache License, Version 2.0</licenseName>
<licenseFile>license.txt</licenseFile>
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
7.38.1</explicitValue>
</dependency>
</dependencies>
</nbm>
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.
I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.
I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution,
I
added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Post by gcameo
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is
done
Post by gcameo
Post by gcameo
in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
Post by gcameo
Post by gcameo
Post by gcameo
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Edvin Syse
2010-08-09 21:09:00 UTC
Permalink
Post by Gabriele Kahlout
okay a bug is that there is no space between 1 and but, where but is
part of the message while 1 is the version no!
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
1</explicitValue>
</dependency>
</dependencies>
I think you need to depend on a spesific implementation version. For NBP6.9:

<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>impl</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 = 201007151553</explicitValue>
</dependency>
</dependencies>

-- Edvin
Gabriele Kahlout
2010-08-09 18:58:25 UTC
Permalink
Sorted, I had to make an entry in the manifest file too (as described
in the module documentation):
OpenIDE-Module-Module-Dependencies:
org.netbeans.modules.editor.settings.storage/1 > 1.20

<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
201008021402</explicitValue>
</dependency>
</dependencies>
Post by Gabriele Kahlout
okay a bug is that there is no space between 1 and but, where but is
part of the message while 1 is the version no!
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1 =
1</explicitValue>
</dependency>
</dependencies>
The module named org.netbeans.modules.editor.settings.storage/1 was
needed and not found.
[platform-dev] Re: [platform-devtyutryyttTTtRTtrtrTrttre] Re: Build
issue with NBM module migrating from 2.6?t
Follows my module.xml. This allows to build the module and project,
For input string: "1but"
at
org.openide.modules.Dependency.checkCodeName(Dependency.java:194)
at org.openide.modules.Dependency.create(Dependency.java:293)
at org.netbeans.Module.initDeps(Module.java:674)
at org.netbeans.Module.parseManifest(Module.java:456)
Caused: org.netbeans.InvalidException: While parsing
com.mysimpatico.MemoPlatform.Editor a dependency attribute
at org.netbeans.Module.parseManifest(Module.java:458)
at org.netbeans.StandardModule.<init>(StandardModule.java:137)
at org.netbeans.ModuleFactory.create(ModuleFactory.java:69)
at org.netbeans.ModuleManager.create(ModuleManager.java:517)
at
org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1593)
at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
at
org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
at
org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
at org.netbeans.core.startup.Main.start(Main.java:302)
at
org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
[catch] at java.lang.Thread.run(Thread.java:637)
Could this be a bug?
<?xml version="1.0" encoding="UTF-8"?>
<nbm>
<!--<moduleType>autoload</moduleType>-->
<!--<codeNameBase>com.mysimpatico.memoplatformeditor/1</codeNameBase>-->
<licenseName>Apache License, Version 2.0</licenseName>
<licenseFile>license.txt</licenseFile>
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
7.38.1</explicitValue>
</dependency>
</dependencies>
</nbm>
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.
I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.
I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution,
I
added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done
in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Edvin Syse
2010-08-10 22:19:07 UTC
Permalink
Post by Gabriele Kahlout
Sorted, I had to make an entry in the manifest file too (as described
org.netbeans.modules.editor.settings.storage/1 > 1.20
I think this would be added automatically when you use Maven. If this doesn't happen for you, you might be looking at a bug, or you have overriden something that confuses the Maven plugin.

-- Edvin
Gabriele Kahlout
2010-08-11 07:29:53 UTC
Permalink
you are right! It's not needed and there's no bug. Not only it's not
needed, it's presence caused a no-class found exception.
Post by Edvin Syse
Post by Gabriele Kahlout
Sorted, I had to make an entry in the manifest file too (as described
org.netbeans.modules.editor.settings.storage/1 > 1.20
I think this would be added automatically when you use Maven. If this
doesn't happen for you, you might be looking at a bug, or you have overriden
something that confuses the Maven plugin.
-- Edvin
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Gabriele Kahlout
2010-08-09 07:15:59 UTC
Permalink
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.

I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.

I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.

<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution, I added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 =
5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Gabriele Kahlout
2010-08-09 07:31:24 UTC
Permalink
complained too early (after hours of searching), but i still have a problem:

A good documentation is:
[platform-dev] Re: [platform-devtyutryyttTTtRTtrtrTrttre] Re: Build
issue with NBM module migrating from 2.6?t

Follows my module.xml. This allows to build the module and project,
but at runtime I get the followoing exception:

java.lang.IllegalArgumentException: java.lang.NumberFormatException:
For input string: "1but"
at org.openide.modules.Dependency.checkCodeName(Dependency.java:194)
at org.openide.modules.Dependency.create(Dependency.java:293)
at org.netbeans.Module.initDeps(Module.java:674)
at org.netbeans.Module.parseManifest(Module.java:456)
Caused: org.netbeans.InvalidException: While parsing
com.mysimpatico.MemoPlatform.Editor a dependency attribute
at org.netbeans.Module.parseManifest(Module.java:458)
at org.netbeans.StandardModule.<init>(StandardModule.java:137)
at org.netbeans.ModuleFactory.create(ModuleFactory.java:69)
at org.netbeans.ModuleManager.create(ModuleManager.java:517)
at org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1593)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
at org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
at org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
at org.netbeans.core.startup.Main.start(Main.java:302)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
[catch] at java.lang.Thread.run(Thread.java:637)

Could this be a bug?

<?xml version="1.0" encoding="UTF-8"?>
<nbm>
<!--<moduleType>autoload</moduleType>-->
<!--<codeNameBase>com.mysimpatico.memoplatformeditor/1</codeNameBase>-->
<licenseName>Apache License, Version 2.0</licenseName>
<licenseFile>license.txt</licenseFile>
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
7.38.1</explicitValue>
</dependency>
</dependencies>
</nbm>
I'm having the same problem with Module dependency has friend
dependency on org.netbeans.modules.editor.settings.storage/1but is not
listed as friend, but I'm not sure how and where to declare the friend
dependency in the maven project.
I've added the following to the pom.xml (of the module) but
explicitTag is not recognized as a valid tag.
I've added it to module.xml, and yet the same.
I didn't come across any documentation on how to declare this friend
dependency in maven. Please advise on how to fix this problem.
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-settings-storage</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.editor.settings.storage/1but =
5</explicitValue>
</dependency>
Post by gcameo
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution,
I
added this
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 =
5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
[org.netbeans.modules.xml.schema.completion.CompletionResultItem,
org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed
Post by gcameo
Hi Thanks.
Can you give an example on how this implementation dependency is done in
a maven based application.
I was thinking that is what I have done in my module.xml.
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation
version from the module's manifest..
Milos
Post by gcameo
Kind regards
you either have declare implementation dependency <explicitValue> xxx
= yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed
Post by gcameo
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Module dependency has friend dependency on
org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 >
1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer
OR with " ACK" appended to this subject within 48 hours. Otherwise, I
might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x,
this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a
priori senders, or if the subject of this email ends with a code, eg.
-LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y.
In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
Continue reading on narkive:
Loading...