Adding JavaDoc comments to a class generated using Roaster API
by forge-users@lists.jboss.org
Hi,
I'm using Java Roaster to generate quite a large number of java source files (from structured data in a text document). The API provides methods to retrieve Javadoc comments, but not to add them. I can not see any way to add Java Doc class level comments or method level comments. Does anyone know if there is any way to achieve this?
This is an example what I would like to do. I would like to add a line which achieves the same as the invalid final line in this code:
final JavaClassSource javaClass = Roaster.create(JavaClassSource.class);
javaClass.setPackage("com.company.example");
javaClass.setName("Person");
*javaClass.setJavaDocText("This is designed to hold information about a person.");*
Thanks in advance if any one can help me with this
Neil
Posted by forums
Original post: https://developer.jboss.org/message/914599#914599
5 days, 7 hours
Trick to copy all the files + subfolders to a destination
by Charles Moulliard
Hi,
When I run command within the Forge shell
cp -r ../../scripts/front/modified src/main/resources/static/
the folder "modified" is also copied to the destination.
demo/cdfront/src/main/resources/static
demo/cdfront/src/main/resources/static/modified
demo/cdfront/src/main/resources/static/modified/app.html
demo/cdfront/src/main/resources/static/modified/fonts
....
Is there a trick to copy all the files + subfolders under the folder
"modified" only ?
Regards,
Charles
8 years, 7 months
How can we get more info if export verbose=true fails
by Charles Moulliard
Hi,
The following scaffold-setup command raises an error and the stacktrace
isn't displayed even when we enable verbose mode. Is there an alternative
to be used which offers more tracing and doesn't need to use debug mode ?
[cdservice]$ export VERBOSE=true
[cdservice]$ scaffold-setup --provider AngularJS
***ERROR*** Error while moving to the next wizard step
Regards,
Charles
8 years, 7 months