Installing and Using Aspose.Cells Java for Eclipse - Maven
Contents
[
Hide
]
Installing
Aspose.Cells Java for Eclipse (Maven) plugin can be easily installed from the Available Plugin tab in the Plugin dialog.
- To open it, select Plugins from the Tools menu in Eclipse.
- This adds the Aspose.Cells Maven Project in New Project wizard and Aspose.Cells Code Example in New Other wizard of Eclipse IDE.
Using
Aspose.Cells Maven Project (wizard)
To create Maven Project by wizard for using Aspose.Cells for Java API:
- Select New -> Project.
- Select Aspose.Cells Maven Project in the Maven category.
- Click Next.
- Provide Project Name, Location, GroupId, ArtifactId and Version for your Maven Project and click Finish.
- This will retrieve the Aspose.Cells for Java latest Maven Dependency reference from Aspose Cloud Maven Repository and configure it in pom.xml. If you have opted for Also Download Code Examples, downloading of the Code Examples will also begin from the Aspose.Cells for Java API Examples Repository.
- Following Maven Project will be created on your Eclipse IDE on completion of the wizard:
- The created Maven Project is configured to use Aspose.Cells for Java API and ready to be enhanced as per your Project requirements. If you have opted to download Code Examples, you can use Aspose.Cells Code Example (wizard) for importing needed Code Examples of Aspose.Cells for Java API into your project.
Aspose.Cells Code Example (wizard)
Aspose.Cells Code Example wizard allows you to try out many samples provided for Aspose.Cells for Java API.
To be able to use Aspose.Cells Code Example wizard comfortably: it is recommended to always select Also Download Code Examples while creating Maven Project on Aspose.Cells Maven Project wizard,
To use examples, just:
- Click New -> Other in Eclipse.
- Select Aspose.Cells Code Example in the Java category.
- Click Next.
- Choose your project and then expand the tree to select Code Example category and click Finish.
- This will copy the selected category Code Examples Java files into the project under com.aspose.cells.examples package. Also any required resources needed by the Code Examples will be copied into src/main/resources folder, as shown below:
- Review the example code, compile and run.
- You can now test other examples and start building your own application using Aspose.Cells for Java API.