Split up VPE component in jira ?
by Max Rydahl Andersen
Hi Maxim,
Would it makes sense to split up VPE component in jira so VPE/Xulrunner
issues goes in one and pure VPE template issues goes in another ?
Or is it all the same for you guys ?
--
/max
15 years, 6 months
need help on generating doc
by Anthony Patricio
Hi,
I'm trying to generate the hbtools doc but I have following error:
org.jboss.maven.shared.resource.ResourceException: could not locate
specified re
source directory
at
org.jboss.maven.shared.resource.ResourceDelegate.collectFileNames(Res
ourceDelegate.java:156)
at
org.jboss.maven.shared.resource.ResourceDelegate.process(ResourceDele
gate.java:108)
at
org.jboss.maven.plugins.jdocbook.ResourceMojo.processProjectResources
(ResourceMojo.java:69)
at
org.jboss.maven.plugins.jdocbook.ResourceMojo.process(ResourceMojo.ja
Can someone help me?
thanks,
Anthony
15 years, 6 months
Error in org.jboss.tools.ws.core.test
by Snjezana Peco
The error happens in the
org.jboss.tools.ws.core.classpath.JBossWSRuntimeClassPathInitializer$JBossWSRuntimeClasspathContainer.removeEntry
method :
public void removeEntry(String jarName) {
if (entries == null) {
return;
}
IClasspathEntry[] newEntries = new IClasspathEntry[entries.length - 1];
int i = 0;
for (IClasspathEntry entry : entries) {
if (!entry.toString().contains(jarName)) {
newEntries[i++] = entry;
}
}
entries = newEntries;
}
The method will throw AIOOB exception if an entry named jarName doesn't
exist.
There is yet another issue in this method. If, for instance, a classpath
contains the following entries:
...
a.jar
aa.jar
aba.jar
...
and a client calls removeEntry("a.jar"), the method will remove all the
above mentioned entries.
A solution for this issue would be the following :
public void removeEntry(String jarName) {
if (entries == null) {
return;
}
List<IClasspathEntry> entriesList = new ArrayList<IClasspathEntry>();
for (IClasspathEntry entry : entries) {
if (entry != null) {
IPath path = entry.getPath();
if (path != null) {
if (path != null && path.lastSegment() != null &&
path.lastSegment().equals(jarName)) {
continue;
}
}
entriesList.add(entry);
}
}
entries = entriesList.toArray(new IClasspathEntry[0]);
}
There is a similar issue in the
org.jboss.tools.esb.core.runtime.JBossRuntimeClassPathInitializer.JBossRuntimeClasspathContainer.removeEntry
method
Snjeza
15 years, 6 months