cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti 0.6.0 release

dev1
Champ in-the-making
Champ in-the-making
Hi all,

I had Activiti's old source code with me, and i tried to build it and got the following error, which says it cant/issue in downloading graphiti 0.7.0 dependencies…
does this mean i will never be able to build this code , if yes then what are the ways to build it.

C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.eclipse>mvn ec
lipse:clean eclipse:eclipse

C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.eclipse>set MA
VEN_OPTS=-Xmx512m
[INFO] Scanning for projects…
[INFO] Resolving target platform for project MavenProject: org.activiti.designer
Smiley Surprisedrg.activiti.designer.eclipse:0.6.0 @ C:\Users\DEV\Desktop\office\BPMNDesigner1
.0\org.activiti.designer.eclipse\pom.xml
[INFO] Adding repository http://download.eclipse.org/releases/helios
30 Jun, 2011 10:25:31 PM org.apache.commons.httpclient.HttpMethodDirector execut
eWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection timed out: connect
30 Jun, 2011 10:25:31 PM org.apache.commons.httpclient.HttpMethodDirector execut
eWithRetry
INFO: Retrying request
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[WARNING] Failed to access p2 repository Graphiti (http://download.eclipse.org/g
raphiti/updates/0.7.0/), will try to use local cache. Reason: org.eclipse.equino
x.p2.core.ProvisionException: No repository found at http://download.eclipse.org
/graphiti/updates/0.7.0/.
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops
/R20100519200754/updateSite/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops
/R20100519200754/updateSite/
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.
1, osgi.ws=gtk, osgi.arch=x86_64, osgi.os=linux, org.eclipse.update.install.feat
ures=true, org.osgi.framework.system.packages=}
[INFO] [Software being installed: org.activiti.designer.eclipse 0.6.0, Missing r
equirement: org.activiti.designer.eclipse 0.6.0 requires 'bundle org.eclipse.gra
phiti 0.7.0' but it could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.
ProvisionException: No solution found because the problem is unsatisfiable. -> [
Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept
ion: org.eclipse.equinox.p2.core.ProvisionException: No solution found because t
he problem is unsatisfiable.
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionExce
ption: No solution found because the problem is unsatisfiable.
        at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resol
ve(ProjectorResolutionStrategy.java:98)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:335)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:300)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
rm(P2TargetPlatformResolver.java:406)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
(P2TargetPlatformResolver.java:105)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:68)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        … 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found bec
ause the problem is unsatisfiable.
        … 20 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorE
xception
C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.eclipse>
5 REPLIES 5

trademak
Star Contributor
Star Contributor
Hi,

Just update the Graphiti dependency to 0.7.1 according to trunk.

Best regards,

dev1
Champ in-the-making
Champ in-the-making
hi,

i could see graphiti site mentioned in pom.xml of  "org.activiti.designer.parent"…is this the only place,where i have to do changes ?

trademak
Star Contributor
Star Contributor
Hi,

It's also in every sub-project's MANIFEST.MF file. I refactored that at some point in time, that it didn't include the version, but in 0.6.0 it still has a version number I think.
Then also in the feature project's feature.xml file.

Best regards,

dev1
Champ in-the-making
Champ in-the-making
Hi,

As mentioned by you i tried to change MANIFEST.MF file of all the projects line, but got error..
instead of it i updated graphiti site in the project "org.activiti.designer.parent"
and with this change i am able to build majority of projects…

the main issue which i face now is with feature projects Feature.xml file, while performing mvn eclipse:clean eclipse:eclipse i get following error

C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.feature>mvn ec
lipse:clean eclipse:eclipse

C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.feature>set MA
VEN_OPTS=-Xmx512m
[INFO] Scanning for projects…
[INFO] Resolving target platform for project MavenProject: org.activiti.designer
Smiley Surprisedrg.activiti.designer.feature:0.6.0 @ C:\Users\DEV\Desktop\office\BPMNDesigner1
.0\org.activiti.designer.feature\pom.xml
org.xml.sax.SAXParseException: The markup in the document preceding the root ele
ment must be well-formed.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(ErrorHandlerWrapper.java:195)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(ErrorHandlerWrapper.java:174)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:388)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(X
MLScanner.java:1414)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:925)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:119)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestPars
er.parse(FeatureManifestParser.java:98)
        at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse
(FeatureParser.java:52)
        at org.sonatype.tycho.p2.impl.publisher.P2GeneratorImpl.getPublisherActi
ons(P2GeneratorImpl.java:253)
        at org.sonatype.tycho.p2.impl.publisher.P2GeneratorImpl.generateMetadata
(P2GeneratorImpl.java:173)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.doAddMavenArtifact
(P2ResolverImpl.java:165)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.addMavenProject(P2
ResolverImpl.java:141)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
rm(P2TargetPlatformResolver.java:160)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
(P2TargetPlatformResolver.java:105)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:68)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
[ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerEx
ception
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.lang.NullPointerException
        at org.sonatype.tycho.p2.impl.publisher.P2GeneratorImpl.getPublisherActi
ons(P2GeneratorImpl.java:254)
        at org.sonatype.tycho.p2.impl.publisher.P2GeneratorImpl.generateMetadata
(P2GeneratorImpl.java:173)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.doAddMavenArtifact
(P2ResolverImpl.java:165)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.addMavenProject(P2
ResolverImpl.java:141)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
rm(P2TargetPlatformResolver.java:160)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
(P2TargetPlatformResolver.java:105)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:68)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        … 11 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorE
xception
C:\Users\DEV\Desktop\office\BPMNDesigner1.0\org.activiti.designer.feature>

i am not able to find the error..

trademak
Star Contributor
Star Contributor
Hi,

There seems to be something wrong with the pom file of the feature project, it's not well-formed.

rg.activiti.designer.feature:0.6.0 @ C:\Users\DEV\Desktop\office\BPMNDesigner1
.0\org.activiti.designer.feature\pom.xml
org.xml.sax.SAXParseException: The markup in the document preceding the root ele
ment must be well-formed.

You'll have to post the pom file to make more sense of this.

Best regards,