Jump to content
Changes to the Jaspersoft community edition download ×

Cannot create Custom Built-in Functions


jonahlondon

Recommended Posts

Hi, I'm trying to add my own Java classes as Built In Functions to use in the Expression Editor but they are not appearing there.  I'm expecting to see an extra folder 'Custom Category' with my new Functions but it is not there. Can you see what I have missed?


 


I'm using the JasperStudio plugin in Eclipse Mars on Windows 7, Java 8 is JRE for my Eclipse but I have the same problem with Java 6.


 


Followng this tutorial http://community.jaspersoft.com/wiki/jaspersoft-studio-expression-editor-how-extend-it-and-contribute-your-own-functions-part-2-0  I've used the wizard to set up the classes.


 


I've seen other similar questions where editing Jasper Studio.ini to change the JVM was mentioned, but I cannot see that in my Eclpse installation. Any ideas?


 


Here are the classes that I have set up : 


 


 


jasper-functions-decimalhours.png.207209364b06177d972ffcb7a2e7f6e5.png


 


 


But when I go to the Expression Editor, expecting to see my DECIMAL_HOURS in the list of built-in functions, it's not there.


 


expression-editor.png.f59ea404e3e91dfb0da0fffbaee87624.png


Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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...