Hi,
I am searching where roo stores informations about project settings.
For example in roo-dev I performed command "git config --automaticCommit false" this information is stored somewhere....
Type: Posts; User: valerian; Keyword(s):
Hi,
I am searching where roo stores informations about project settings.
For example in roo-dev I performed command "git config --automaticCommit false" this information is stored somewhere....
In my LocaleBean
/**
* Location of internationalization property files.
*/
public static final String BUNDLE_LOCATION = "com.foo.bar.web.i18n.messages";
/**
:D
Ok so I looked to spring-roo/addon-jpa/src/main/java/org/springframework/roo/addon/jpa/entityJpaEntityMatadata.java line 678
// Quit at this stage if the user doesn't want a version...
Hi,
please post your applicationContext.xml and persistence.xml files. Are you able to run application with this context? If I use JTA type my appContext looks like this
<?xml version="1.0"...
Hi,
here is mine
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:/META-INF/spring/applicationContext*.xml")
@Transactional
@Configurable
int PUBLIC_STATIC_FINAL_MODIFIER = 0x00000012; //19
or
int PUBLIC_STATIC_FINAL_MODIFIER = Modifier.PUBLIC | Modifier.STATIC | Modifier.FINAL;
Initializing fields can be made by
/**
Hi,
try to declare
private transient java.lang.Integer version; to your entity. Roo will remove this field from ITD and transient fields are not in database.
Then try if persist works. I am...
Hi, thanks
for completeness
private ConstructorMetadata getConstructorMethod(String constructorName) {
// Check if a constructor with the same signature already exists in...
Hi,
is there some way how to create constructor in ITD?
I am creating methods like this
// Specify the desired method name
JavaSymbolName methodName = new JavaSymbolName(methodName);...
Hi,
no option provided, you have to remove it by yourself.
Thanks very much !
Hi,
is there some way how to not use pgp when creating new addon?
I have created new advanced addon from roo-dev
addon create advanced and when I build this addon build ask me to
write my pgp...
Related to ROO-1431 which depends to ROO-635 and that one depends on javaparser issue.
Pretty tangled skein ...
Created minor improvment issue at JIRA ROO-3160.
Hi,
I still can't find some addon creation documentation.
Let's summarize, what can be found on internet.
Spring Roo Advanced Addon in Detail- Part 1 (this have 4 parts)
...
Hi,
I have created advanced addon and then I created fields and methods in Metadata class.
This methods and fields will be in *.aj files. ( ITD )
But I dont know how to add some javadoc...
I assumed that modifier could be same as java.lang.reflect.Modifier
where are listed modifiers
public static final int PRIVATE = 0x00000002;
public static final int STATIC ...
Hi,
I just want to ask how to initialize field in spring roo.
For example:
private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger(Foo.class);
I created field in...
Hi,
How to do it now when your mentioned task is closed?
Thanks
Yup, we are.
Created our owns templates for generating view.
No major problems found.
Good luck and have fun.
Hi,
thanks for reply.
Tried to solve that but unfortunately I am not strong enough to solve this yet.
( I have hard times to customize roo for my own purposes, with no documentation for core...
Well I found some issue on this already ... see
https://jira.springsource.org/browse/ROO-546
https://jira.springsource.org/browse/ROO-635
valerian
/** Any JavaDoc comments (reserved for future expansion) */
protected String comment = "";
Hi,
Found declaration in classpath/src/main/java/org/springframework/roo/classpath/operations/jsr303/FieldDetails.java
/** Any JavaDoc comments (reserved for future expansion) */
protected...
Hi,
Let's see.
First let's find comment option in sources
grep -lr "@CliOption(key = \"comment\"" .
./classpath/src/main/java/org/springframework/roo/classpath/operations/FieldCommands.java