roaster how to add an annotation instancehow can an annotation with integer values, like @Range(min = 0, max = 10) be added to AnnotationSource. setStringValue and setLiteralValue methods only allows to add String values.
Thread Creating a static nested class using Roaster API
Creating a static nested class using Roaster APIHi, I'm using Roaster API to generate some Java source files. I would like my Java source files to contain a nested static class like: class A { static class B {} } ...
Thread How to add Parent POM to an existing POM using Forge API
How to add Parent POM to an existing POM using Forge APII'm creating an addon that updates the existing POM, I'm able to add dependencies, repository, and various other information using DependencyFacet, MavenFacet etc., However, I'm unable to figure out how to add a paren...
Thread Help needed in writing a simple UI validator
Help needed in writing a simple UI validatorI have a method configureInputs which is called by initializeUI method (when i create a command extending AbstractProjectCommand) private void configureInputs(UIBuilder builder) { ...
Thread Using Forge angularjs addon in existing project
Using Forge angularjs addon in existing projectHello, I am trying out jboss forge in an existing gradle project. I have installed the gradle addon and angularjs addon. After navigating to the project directory and starting forge, then entering the ...
Thread Is there any way to install an addon from a zip file?
Is there any way to install an addon from a zip file?I previously tried addon-install-from-git --url https://github.com/forge/addon-arquillian.git --coordinate org.arquillian.forge:arquillian-addon and it did not work (error 407). As I am behind...
Problem with any command of forgehello guys, i am an newer user in forge, and i need help. Recently i tried start a project with forge after install him , and when a type any command i got this error : ***ERROR*** No such command: {comm...
Thread What are the prerequisites for a maven project to have JPAFacet
What are the prerequisites for a maven project to have JPAFacetI have a maven project of packaging EAR, with a file persistence.cml in src/main/resources/META-INF/ but for didn't add the JPAFacet ? Why ? Are there other prerequisites to activate it ? Thanx for your Help ...
How does Forge support GradleI tried giving Gradle dependency in my forge-addon parent pom.xml as <dependency> <groupId>org.jboss.forge.addon</groupId> <artifactId>gradle</artifactId> ...
How to give gradle addon dependencyHi, I want to add Gradle dependency through code like this GradleModelBuilder builder = GradleModelBuilder.create(); model.addTask(GradleTaskBuilder.create() . setName("newTask") . setDependendsOn(Gradle...
Thread Problem creating test for a new addon I'm developing
Problem creating test for a new addon I'm developingI'm creating a forge addon and following the below folder structure of having seperate addon, impl, tests and api folders. I wrote my Facet implementation in Impl. I'm able to successfully execute the addon. However, ...
Thread Need explanation for forge addon folder structure
Need explanation for forge addon folder structureI always have a doubt that why does a forge addon folder structure is something like addon impl api tests what is the relation between each other.And when we install addon why do we have to run insta...
(FR reading) Technical reviewer neededHello, I wrote an article for the French Linux Magazine about addons. I'm looking for someone who understands the subject, possibly have written several addons, and reads French so that person could do the te...