Hi Apose Team, I have a project in mind and want to see if Apose.OMR is the right product for me. I tried generating a template and I got an exception saying that I need to have a license. In the documentation it says that all features work just with only the first 5 lines and a watermark. I can’t even get a temporary license as I’m not quite ready to commit to the business idea and get a business email or anything. Have I don’t something wrong that is outside the scope of using the product without a license? Or has the policy regarding usage without a license changed?
Can you please share what you are trying to achieve using evaluation version of the API? Please share sample code snippet and sample files for our reference so that we can test the scenario in our environment and address it accordingly.
Absolutely, so far I am just trying to simply generate a template image. I now realize the issue may or may not be the way I am getting the library, I will explain.
Here is my code for generation:
public Generate() {
OmrEngine engine = new OmrEngine();
GenerationResult result = engine.generateTemplate("C:\\Users\\jorda\\IdeaProjects\\Strike\\src\\main\\resources\\template.txt");
result.save("target", "hello");
}
Here is my template file:
?text=Hello, World!
font_style=bold
font_size=24
#How are you doing today?
() Pretty good, thanks! () I won't respond until I see my lawyer.
And here is my pom.xml file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>me.devjordan</groupId>
<artifactId>Strike</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://releases.aspose.com/java/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-omr</artifactId>
<version>23.5</version>
</dependency>
</dependencies>
</project>
The block could be incorrect, when I tried using the code provided in the documentation:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-omr</artifactId>
<version>23.5</version>
<classifier>jdk6</classifier>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-omr</artifactId>
<version>23.5</version>
<classifier>javadoc</classifier>
</dependency>
I received an error saying “Could not find artifact com.aspose:aspose-omr:jar:jdk6:23.5 in AsposeJavaAPI” and “Could not find artifact com.aspose:aspose-omr:jar:javadoc:23.5 in AsposeJavaAPI”
Thanks for sharing the details. Please spare us some time to look into this matter under the ticket ID OMRJAVA-80. We will let you know as soon as we have some feedback to share after performing investigation.
First of all, no need to set the classifier. It will work with:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-omr</artifactId>
<version>23.5</version>
</dependency>
Regarding licensing, we will change licensing rules in next Java release to allow using Aspose.OMR for Java without license file. We plan to publish it next week. Depending on date release will be either 23.10 or 23.11