Hi ,
  You are right.No need to give additionalClasspath.
  It is working fine now.
   
  thanks
  bj

Grégory Joseph <[EMAIL PROTECTED]> wrote:
  Hi,

* You shouldn't have to use additionalClasspath if you already have
these classes as a dependencies
* The syntax would be as for any plugin config:
... how did you invent this one?
:)

Also, I'm not sure why you use a specific goal, afaik, it's enough to
just declare this plugin, and it will bind to the appropriate phase
and execute that goal. (the only exception being if you need to
execute it in a specific phase, obviously)

Please try again with a cleaner pom, and see how it goes.

Cheers

g

On 22/03/07, bibin jacob wrote:
> Hi,
> I've created a simple project just to try out jasper report:
> jasperreports-maven-plugin.As mentioned in
> 
> i have placed my sample.jrxml in
> Sample\webapp\src\main\jasperreports
> My pom.xml looks like this(dependencies not copied here)
> 

> org.codehaus.mojo
> jasperreports-maven-plugin
> 
> 
> com.domainlanguage
> timeandmoney
> 0.5.1
> 
> 
> 
> compile-reports
> 
additionalClasspath

> C:/Documents and
> Settings/bibin.jacob/.m2/repository/com/domainlanguage/timeandmoney/0.5/timeandmoney-0.5.jar
> 
> 
> 
> 

> The problem is iam using a class com.domainlanguage.Money of
> timeandmoney.jar for a conversion in my jrxml file(see the portion of jrxml
> file below). But while compiling iam getting the error : package
> com.domainlanguage.* not found. Iam importing the package in jrxml.When
> running through ireport(tool) it works fine. What will be the solution?? why
> the additionalClasspath is not taking.Is it the way to give
> additionalClasspath. If anybody knows the solution please reply.
> Portion of jrxml file
> 
> 
> > "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd";>
> > orientation="Portrait" pageWidth="595" pageHeight="1000" columnWidth="535"
> columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20"
> bottomMargin="20" whenNoDataType="NoPages" isTitleNewPage="false"
> isSummaryNewPage="false">
> 


> 


> 
> 
> 
> 
>
> 
> 
> 
>
>
> 
> 
> > calculation="Count">
> 
> 
> > calculation="Sum">
> 
> 
>
> ________________________________
> Here's a new way to find what you're looking for - Yahoo! Answers
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email



                                
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 

Reply via email to