Jump to content

Recommended Posts

Posted

Hi,

I tried to build Jasper 6.0.4 and 6.2.0 (tagged version) but with the current build environment "jss451TargetRepo", it was missing the dependency Groovy-all 2.01.

Executing via maven, I got the same error :

cd aggregator  ; mvn package

[iNFO] Resolving dependencies of MavenProject: com.jaspersoft.studio.community-edition:net.sf.jasperreports:6.2.0.final @ /home/guillaume/WorkspaceJasper6.2.0/net.sf.jasperreports/pom.xml
[iNFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: net.sf.jasperreports 6.2.0.final
[ERROR]   Missing requirement: net.sf.jasperreports 6.2.0.final requires 'bundle groovy-all 2.0.1' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: com.jaspersoft.studio.community-edition:net.sf.jasperreports:6.2.0.final @ /home/guillaume/WorkspaceJasper6.2.0/net.sf.jasperreports/pom.xml: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException


 

I try to editing aggregator/pom.xml using the commented repositories but I always got this error :

        <repository>            <id>juno</id>            <layout>p2</layout>            <url>http://download.eclipse.org/releases/juno/</url>        </repository>        <repository>            <id>eclipse38</id>            <layout>p2</layout>            <url>http://download.eclipse.org/eclipse/updates/3.8/</url>        </repository>        <repository>            <id>nebula</id>            <layout>p2</layout>            <url>http://download.eclipse.org/technology/nebula/snapshot/</url>        </repository>        <repository>            <id>orbitR20150124073747</id>            <layout>p2</layout>            <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</url>        </repository>        <repository>            <id>xtext</id>            <layout>p2</layout>            <url>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</url>        </repository>        <repository>            <id>groovy-eclipse-4.3</id>            <layout>p2</layout>            <url>http://dist.springsource.org/release/GRECLIPSE/e4.3/</url>        </repository>[/code]

 

I saw in your documentation that there are target repositories in http://sourceforge.net/projects/jasperstudio/files/DevelopersInfo/targetPlatforms/ but the directory "targetPlatforms" no longer exists.

Can you provide the previous target repositories ?

 

Thank you,

Guillaume Smaha

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
Posted

Finally, I found a solution to create easily a target repository :

Assuming you have Eclipse in the directory workdir/eclipse :

1) Download the current targetplatform targetplatform-xxxx.zip :

http://sourceforge.net/projects/jasperstudio/files/DevelopersInfo/jss-environment/

2) Extract in workdir/targetplatorm

3) Download JasperStudio with the needed version : TIBCOJaspersoftStudio-x.x.x.final-linux-x86_64.tgz

http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-x.x.x/

4) Extract the directories plugins and features in the workdir/targetplatform directory

5) Create a directory workdir/targetrepo

6) Execute the following command : (Absolute paths are required)

workdir/eclipse/eclipse  -debug -consolelog -nosplash -verbose             -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher             -metadataRepository file:/home/user/workdir/targetrepo             -artifactRepository file:/home/user/workdir/targetrepo             -source /home/user/workdir/targetplatform -compress -append -publishArtifacts[/code]

7) Now, you can use it in aggregator/pom.xml :

<targetplatform.repo>/absolutepath/workdir/tragetrepo</targetplatform.repo>[/code]

8) If there is a missing package, just put it in workdir/targetplatform/plugins and re-exexute the command.

9) For the JRE, download the needed version on http://www.oracle.com/technetwork/java/javase/archive-139210.html :

Extract tar.gz file, rename the extracted directory jre_1.7.jre into jre and compress the jre directory into a zip file

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...