|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[M1] compiling jasper reportsHi,
anybody has experience with compiling jasperreports with Maven 1? I tried to integrate their ant task into my maven.xml, but I keep getting "No supported regular expression matcher found". I check the jasper forums (http://www.jasperforge.org) and found simular questions, but none of the proposed solutions seem to work. any help would be highly appriciated! regards, Wim |
|
|
Re: [M1] compiling jasper reportsI found the solution, I'm posting it here in case anybody got the same
problem. It seems that you need to include ant-apache-regexp *and* jakarta-regexp to your dependencies. Even more you need to add the <classloader>root</classloader> property to you dependencies. This is the relevant piece in the project.xml: <!-- For compiling the jasper reports --> <dependency> <groupId>ant</groupId> <artifactId>ant-apache-regexp</artifactId> <version>1.6.5</version> <properties> <classloader>root</classloader> </properties> </dependency> <dependency> <groupId>jakarta-regexp</groupId> <artifactId>jakarta-regexp</artifactId> <version>1.4</version> <properties> <classloader>root</classloader> </properties> </dependency> <!-- end dependencies list for compiling jasper reports --> And these are the bits I added to my maven.xml: <postGoal name="java:compile"> <attainGoal name="compileJasperReports"/> </postGoal> <!-- Jasper reports compliation --> <goal name="compileJasperReports"> <taskdef name="jrc" classname="net.sf.jasperreports.ant.JRAntCompileTask"> <ant:classpath> <ant:path refid="maven.dependency.classpath"/> </ant:classpath> </taskdef> <ant:jrc srcdir="${basedir}/src/main/jasper" destdir="${maven.build.dest}" tempdir="${maven.build.dest}" keepjava="false" xmlvalidation="true"> <ant:classpath> <ant:path refid="maven.dependency.classpath"/> <ant:pathelement path="${maven.build.dest}"/> </ant:classpath> <ant:include name="**/*.jrxml"/> </ant:jrc> </goal> regards, Wim 2006/9/28, Wim Deblauwe <wim.deblauwe@...>: > > Hi, > > anybody has experience with compiling jasperreports with Maven 1? > > I tried to integrate their ant task into my maven.xml, but I keep getting > "No supported regular expression matcher found". > > I check the jasper forums (http://www.jasperforge.org) and found simular > questions, but none of the proposed solutions seem to work. > > any help would be highly appriciated! > > regards, > > Wim > |
|
|
Re: [M1] compiling jasper reportsIn maven 2, the mojo jasperreports-maven-plugin svn SNAPSHOT works like
a charm... There 'll release it soon probably. Wim Deblauwe wrote, On 2006-09-28 4:34 PM: > Hi, > > anybody has experience with compiling jasperreports with Maven 1? > > I tried to integrate their ant task into my maven.xml, but I keep getting > "No supported regular expression matcher found". > > I check the jasper forums (http://www.jasperforge.org) and found simular > questions, but none of the proposed solutions seem to work. > > any help would be highly appriciated! > > regards, > > Wim > -- With kind regards, Geoffrey De Smet --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [M1] compiling jasper reportscool. If the surefire and the testng plugin now also would be released, I
could continue my conversion to Maven2... regards, Wim 2006/9/29, Geoffrey De Smet <ge0ffrey.spam@...>: > > In maven 2, the mojo jasperreports-maven-plugin svn SNAPSHOT works like > a charm... There 'll release it soon probably. > > Wim Deblauwe wrote, On 2006-09-28 4:34 PM: > > Hi, > > > > anybody has experience with compiling jasperreports with Maven 1? > > > > I tried to integrate their ant task into my maven.xml, but I keep > getting > > "No supported regular expression matcher found". > > > > I check the jasper forums (http://www.jasperforge.org) and found simular > > questions, but none of the proposed solutions seem to work. > > > > any help would be highly appriciated! > > > > regards, > > > > Wim > > > > -- > With kind regards, > Geoffrey De Smet > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
| Free embeddable forum powered by Nabble | Forum Help |