Seam BOM Forge Facet
by Ken Finnigan
All,
Create simple Forge facet for Seam that adds the BOM as a managed dependency
to a project.
Had originally created SEAM-82 for it, but not sure where it should live
now? As part of Seam or in the Forge plugin repository?
Code is at https://github.com/kenfinnigan/plugin-seam-bom
Regards
Ken Finnigan
13 years, 7 months
Re: [forge-dev] freemarker
by Lincoln Baxter, III
Looks like only one freemarker is getting pulled in. Is your code up on
GitHub so I can take a look?
PS... copy forge-dev!!!
~Lincoln
On Mon, Apr 25, 2011 at 3:52 PM, brian <brianx(a)vt.edu> wrote:
> in the snapshot you made for me?
>
> [INFO] [dependency:tree {execution: default-cli}]
> [INFO]
> org.jboss.hibernate.forge:hibernate-tools-plugin:jar:1.0.0-SNAPSHOT
> [INFO] +- org.jboss.seam.forge:forge-shell-api:jar:1.0.0.Alpha3:compile
> [INFO] | +-
> org.jboss.seam.forge:forge-parser-java-api:jar:1.0.0.Alpha3:compile
> [INFO] | +-
> org.jboss.seam.forge:forge-parser-xml:jar:1.0.0.Alpha3:compile
> [INFO] | \- javax.enterprise:cdi-api:jar:1.0-SP4:compile
> [INFO] | +-
>
> org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Beta1:compile
> [INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
> [INFO] | \- javax.inject:javax.inject:jar:1:compile
> [INFO] +- org.hibernate:hibernate-tools:jar:3.4.0.CR2-SNAPSHOT:compile
> [INFO] | +- org.hibernate:hibernate-core:jar:3.5.6-Final:compile
> [INFO] | | +- antlr:antlr:jar:2.7.6:compile
> [INFO] | | +- commons-collections:commons-collections:jar:3.1:compile
> [INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
> [INFO] | | | \- xml-apis:xml-apis:jar:1.0.b2:compile
> [INFO] | | \- org.slf4j:slf4j-api:jar:1.5.8:compile
> [INFO] | +- org.hibernate:hibernate-annotations:jar:3.5.6-Final:compile
> [INFO] | | \-
> org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
> [INFO] | +-
> org.hibernate:hibernate-entitymanager:jar:3.5.6-Final:compile
> [INFO] | | \- javassist:javassist:jar:3.9.0.GA:compile
> [INFO] | +-
>
> org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final:compile
> [INFO] | +- javax.transaction:jta:jar:1.1:compile
> [INFO] | +- commons-logging:commons-logging:jar:1.1:compile
> [INFO] | | +- log4j:log4j:jar:1.2.12:compile
> [INFO] | | +- logkit:logkit:jar:1.0.1:compile
> [INFO] | | +- avalon-framework:avalon-framework:jar:4.1.3:compile
> [INFO] | | \- javax.servlet:servlet-api:jar:2.3:compile
> [INFO] | +- cglib:cglib:jar:2.2:compile
> [INFO] | | \- asm:asm:jar:3.1:compile
> [INFO] | +- ant:ant:jar:1.6.5:compile
> [INFO] | +- freemarker:freemarker:jar:2.3.8:compile
> [INFO] | +- org.hibernate:jtidy:jar:r8-20060801:compile
> [INFO] | +-
> org.eclipse.jdt:org.eclipse.jdt.core:jar:3.2.0-v_671:compile
> [INFO] | +- org.eclipse:text:jar:3.2.0-v20060605-1400:compile
> [INFO] | | +-
> org.eclipse.core:commands:jar:3.3.0-I20070605-0010:compile
> [INFO] | | \- org.eclipse.equinox:common:jar:3.3.0-v20070426:compile
> [INFO] | \- org.eclipse.core:runtime:jar:3.2.0-v20060603:runtime
> [INFO] | +- org.eclipse:osgi:jar:3.3.0-v20070530:runtime
> [INFO] | +- org.eclipse.core:jobs:jar:3.3.0-v20070423:runtime
> [INFO] | +- org.eclipse.equinox:registry:jar:3.3.0-v20070522:runtime
> [INFO] | +-
> org.eclipse.equinox:preferences:jar:3.2.100-v20070522:runtime
> [INFO] | \-
> org.eclipse.core:contenttype:jar:3.2.100-v20070319:runtime
> [INFO] +-
> org.jboss.seam.forge:forge-j2ee-plugins:jar:1.0.0.Alpha3:compile
> [INFO] | +-
>
> org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:0.1.6:compile
> [INFO] | \- org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.CR1:compile
> [INFO] | +-
>
> org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.resource:jboss-connector-api_1.5_spec:jar:1.0.0.Final:compile
> [INFO] | +-
> org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.0.CR2:compile
> [INFO] | | \- javax.xml:jaxrpc-api:jar:1.1:compile
> [INFO] | | \- javax.xml.soap:saaj-api:jar:1.3:compile
> [INFO] | +-
> org.jboss.spec.javax.el:jboss-el-api_2.2_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.enterprise.deploy:jboss-jad-api_1.2_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.security.auth.message:jboss-jaspi-api_1.0_spec:jar:1.0.0.CR1:compile
> [INFO] | +-
>
> org.jboss.spec.javax.xml.registry:jboss-jaxr-api_1.0_spec:jar:1.0.0.Final:compile
> [INFO] | +-
> org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.servlet.jsp:jboss-jsp-api_2.2_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.2_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.xml.rpc:jboss-jaxrpc-api_1.1_spec:jar:1.0.0.Final:compile
> [INFO] | +-
>
> org.jboss.spec.javax.xml.soap:jboss-saaj-api_1.3_spec:jar:1.0.0.Final:compile
> [INFO] | +-
> org.jboss.spec.javax.xml.ws:
> jboss-jaxws-api_2.2_spec:jar:1.0.0.Final:compile
> [INFO] | +- javax.activation:activation:jar:1.1:compile
> [INFO] | +- javax.faces:jsf-api:jar:2.0.2-FCS:compile
> [INFO] | +- javax.jws:jsr181-api:jar:1.0-MR1:compile
> [INFO] | +- javax.mail:mail:jar:1.4.2:compile
> [INFO] | +- javax.servlet:jstl:jar:1.2:compile
> [INFO] | +- org.jboss.resteasy:jaxrs-api:jar:2.0.0.GA:compile
> [INFO] | +- stax:stax-api:jar:1.0.1:compile
> [INFO] | \- javax.validation:validation-api:jar:1.0.0.GA:compile
> [INFO] +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-alpha-12:compile
> [INFO] \-
> org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-12:test
> [INFO] \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-alpha-12:test
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 10 seconds
> [INFO] Finished at: Mon Apr 25 12:59:43 EDT 2011
> [INFO] Final Memory: 19M/158M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
>
>
> On Thu, 2011-04-07 at 10:52 -0400, Lincoln Baxter, III wrote:
> > Unfortunately the database reverse-engineering plugin is still under
> > development. We actually have it working, but the plugin was never
> > released or updated for Alpha3. Actually, I think Max has things
> > mostly done, if you're interested you might be able to get it working
> > pretty easily using the plugin writing section of the guide:
> >
> >
> http://docs.jboss.org/forge/1.0.0.Alpha3/reference/en-US/html_single/#for...
> >
> > Max, what would you say it would take to get this working on Alpha3?
> > Is Hibernate-tools in maven yet?
> >
> > ~Lincoln
> >
> > On Thu, Apr 7, 2011 at 10:46 AM, brian <brianx(a)vt.edu> wrote:
> > Lincoln,
> >
> > Is there a how-to for the case where I have an existing
> > database/entities?
> >
> > I think what I'd like to do is either (a) gen entities from my
> > database
> > or (b) update my existing entities with EJB3/JB6
> > annotations... then gen
> > the front-end.
> >
> >
> > On Thu, 2011-04-07 at 10:26 -0400, Lincoln Baxter, III wrote:
> >
> >
> > > Hi Brian,
> > >
> > > If you get stuck, try pressing <TAB> or press <ENTER> and
> > you will be
> > > prompted for the missing arguments, with a list of available
> > options.
> > >
> > > In this case, however, just type:
> > >
> > > persistence setup --provider HIBERNATE --container
> > JBOSS_AS6
> > > Hope this helps!
> > >
> > > ~Lincoln
> > >
> > > On Thu, Apr 7, 2011 at 10:18 AM, brian <brianx(a)vt.edu>
> > wrote:
> > > Hi folks I'm just getting started using
> > >
> >
> http://docs.jboss.org/forge/1.0.0.Alpha3/reference/en-US/html_single/#for...
> > >
> > > and step 4, the persistence, is a little vague to me
> > > syntactically: how
> > > about an example, say using Hib and JB6?
> > >
> > > I'm sure there's a FAQ, and this question is
> > possibly on it.
> > > Can
> > > someone point me at it?
> > >
> > > Thanks in advance. Looking forward to using Forge!
> > > -Brian
> > >
> > >
> > >
> > > _______________________________________________
> > > forge-users mailing list
> > > forge-users(a)lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/forge-users
> > >
> > >
> > >
> > > --
> > > Lincoln Baxter, III
> > > http://ocpsoft.com
> > > http://scrumshark.com
> > > "Keep it Simple"
> >
> >
> >
> >
> >
> >
> > --
> > Lincoln Baxter, III
> > http://ocpsoft.com
> > http://scrumshark.com
> > "Keep it Simple"
>
>
>
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
13 years, 7 months
Re: [forge-dev] hibernate-tools
by Max Andersen
You should be able to enable verbose møde for forge.
Adding in dev list so lincoln might answer since it must be forge shortening the error.
/max (sent from my phone)
On 20/04/2011, at 21.30, brian <brianx(a)vt.edu> wrote:
>
> i was just going to ask you that. i don't get a stack trace. is it
> going into a log file somewhere?
>
> On Wed, 2011-04-20 at 15:21 -0400, Max Andersen wrote:
>>
>> On 20/04/2011, at 21.10, brian <brianx(a)vt.edu> wrote:
>>
>>>
>>> hey max i use oracle. i need something to set the catalog to 'user'...
>>> must default to 'all'... and you really don't need to be cranking out
>>> classes for SYS tables.
>>
>> Yes, and that should happen by default (skipping sys) since it should pick up oraclemetadatadialect but for some reason it doesn't for you :(
>>
>>> i set the hibernate defaults in the persistence.xml and got a little
>>> farther but now it's
>>>
>>> Found 93 tables in datasource
>>> ***ERROR*** [generate-entities] freemarker/template/TemplateException
>>>
>>> ...any idea where this comes from?
>>
>> What is the full stacktrace ?
>>
>> Looks like an error in the ftl templates
>>> b
>>>
>>> On Wed, 2011-04-20 at 19:12 +0200, Max Rydahl Andersen wrote:
>>>>> Awesome! That;s great news!
>>>>>
>>>>> Let's continue this on Forge-dev so that everyone can help out be available for future reference by other devs.
>>>>>
>>>>> Max, do you know what's up with this error? I know you told me at one point that you can control this type of behavior.
>>>>>
>>>>
>>>> Which database is this ?
>>>> Hibernate Tools reads whatever the database driver/metadatadialect gives it
>>>> to be able to handle multiple schemas.
>>>>
>>>> There are a couple of ways to handle this:
>>>>
>>>> implement a proper MetaDataDialect for the database (then it will automatically be ignored for all).
>>>>
>>>> set hibernate.default_schema and hibernate.default_catalog to the schema/catalog you want to search in - Makes everything singleschema'ed (bad)
>>>>
>>>> Use a reveng.xml (or use the programmatic API) to set the proper includes/excludes for SchemaSelection.
>>>>
>>>> /max
>>>>
>>>>
>>>>> Thanks,
>>>>> ~Lincoln
>>>>>
>>>>> On Wed, Apr 20, 2011 at 11:59 AM, brian <brianx(a)vt.edu> wrote:
>>>>>
>>>>> jmdc.readFromJDBC() is failing with this:
>>>>>
>>>>> ***ERROR*** [generate-entities] Duplicate class name
>>>>> 'edu.vt.middleware.domain.AllFileGroups' generated for
>>>>> 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where
>>>>> generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
>>>>>
>>>>> ...there should be a method/flag to tell it to ignore the SYS tableset,
>>>>> huh?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, 2011-04-11 at 10:50 -0400, Lincoln Baxter, III wrote:
>>>>>> I took the liberty of updating the plugin to use the new APIs and get
>>>>>> it to run. It doesn't however, succeed, because it's missing the
>>>>>> HSQLDB driver, and also has hard-coded JDBC connection properties.
>>>>>>
>>>>>> On Mon, Apr 11, 2011 at 10:43 AM, brian <brianx(a)vt.edu> wrote:
>>>>>>
>>>>>> ok i'm in business. knew it would be something procedural.
>>>>>>
>>>>>> got the source, rebuilt the plugin, it runs.
>>>>>>
>>>>>> now: there is already a GenerateEntities.java in
>>>>>> org.hibernate.forge.plugin.GenerateEntities.java.
>>>>>>
>>>>>> the source you sent is in
>>>>>> org.jboss.seam.forge.persistence.plugins.GenerateEntities.java
>>>>>>
>>>>>>
>>>>>> ...they look eerily similar. what gives?
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, 2011-04-11 at 10:33 -0400, brian wrote:
>>>>>>> aha.
>>>>>>>
>>>>>>> On Mon, 2011-04-11 at 10:18 -0400, Lincoln Baxter, III
>>>>>> wrote:
>>>>>>>> With Git, do your changes in the repo directory. Otherwise
>>>>>> it will not
>>>>>>>> be able to track them.
>>>>>>>>
>>>>>>>> ~Lincoln
>>>>>>>>
>>>>>>>> On Mon, Apr 11, 2011 at 10:17 AM, Lincoln Baxter, III
>>>>>>>> <lincolnbaxter(a)gmail.com> wrote:
>>>>>>>> Your local folder is actually an entire clone of
>>>>>> the Git repo,
>>>>>>>> with every revision from start to finish. So when
>>>>>> you
>>>>>>>> push/pull you are actually synchronizing
>>>>>> repositories, This
>>>>>>>> means that if your local repo thinks it's ahead of
>>>>>> the remote
>>>>>>>> repo, nothing will happen.
>>>>>>>>
>>>>>>>> Running this command will probably fix your
>>>>>> issues:
>>>>>>>>
>>>>>>>> `git reset HEAD^1 --hard`
>>>>>>>> `git reset HEAD^1 --hard`
>>>>>>>>
>>>>>>>> `git pull
>>>>>>>>
>>>>>> git://github.com/forge/plugin-hibernate-tools.git
>>>>>>>> master
>>>>>>>>
>>>>>>>> Try those three. (The duplicate is to make your
>>>>>> repo think
>>>>>>>> that it's "behind".)
>>>>>>>>
>>>>>>>> I know it's funky, but after I became familiar,
>>>>>> the speed and
>>>>>>>> control are very addictive compared to SVN. (You
>>>>>> also don't
>>>>>>>> have to worry about damaging any .svn/
>>>>>> directories. Just the
>>>>>>>> top-level .git/ directory, which is a whole lot
>>>>>> less to keep
>>>>>>>> track of.
>>>>>>>>
>>>>>>>> ~Lincoln
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Apr 11, 2011 at 10:13 AM, brian
>>>>>> <brianx(a)vt.edu> wrote:
>>>>>>>>
>>>>>>>> blew away local changes.
>>>>>>>>
>>>>>>>> the way i'm used to seeing mvn/svn work is
>>>>>> that i have
>>>>>>>> a repo (in this
>>>>>>>> case ~/plugin-hibernate-tools) and a
>>>>>> working dir (in
>>>>>>>> this
>>>>>>>>
>>>>>> case /apps/src/brianxlong-plugin-hibernate-tools-2f38225) and
>>>>>> i make my
>>>>>>>> changes and do my builds in my working
>>>>>> dir.
>>>>>>>>
>>>>>>>> am i just doing it wrong? what's the
>>>>>> workflow with
>>>>>>>> git?
>>>>>>>>
>>>>>>>>
>>>>>>>> here's the output i'm seeing
>>>>>>>> ...
>>>>>>>>
>>>>>>>> brianx@elvis:~/plugin-hibernate-tools$ git
>>>>>> pull
>>>>>>>>
>>>>>> git://github.com/forge/plugin-hibernate-tools.git
>>>>>>>> master
>>>>>>>>
>>>>>>>>> From
>>>>>> git://github.com/forge/plugin-hibernate-tools
>>>>>>>> * branch master ->
>>>>>> FETCH_HEAD
>>>>>>>> Already up-to-date.
>>>>>>>>
>>>>>>>>
>>>>>>>> ...
>>>>>>>>
>>>>>>>> brianx@elvis:~/plugin-hibernate-tools$ git
>>>>>> status
>>>>>>>> # On branch master
>>>>>>>> # Your branch is ahead of 'origin/master'
>>>>>> by 1 commit.
>>>>>>>> #
>>>>>>>> nothing to commit (working directory
>>>>>> clean)
>>>>>>>> brianx@elvis:~/plugin-hibernate-tools$ git
>>>>>> remote -v
>>>>>>>> origin
>>>>>>>>
>>>>>> https://github.com/forge/plugin-hibernate-tools
>>>>>>>> (fetch)
>>>>>>>> origin
>>>>>>>>
>>>>>> https://github.com/forge/plugin-hibernate-tools
>>>>>>>> (push)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, 2011-04-11 at 09:37 -0400, Lincoln
>>>>>> Baxter, III
>>>>>>>> wrote:
>>>>>>>>> Hmmm.
>>>>>>>>>
>>>>>>>>> That should have worked. What was the
>>>>>> output of that
>>>>>>>> command?
>>>>>>>>> Similarly, what happens when you type
>>>>>> 'git status'
>>>>>>>> or 'git remote -v'
>>>>>>>>>
>>>>>>>>> You might have local changes that are
>>>>>> preventing the
>>>>>>>> merge.
>>>>>>>>>
>>>>>>>>> Lincoln Baxter's Droid
>>>>>>>>> http://ocpsoft.com
>>>>>>>>> http://scrumshark.com
>>>>>>>>> Keep it simple.
>>>>>>>>>
>>>>>>>>> On Apr 11, 2011 9:33 AM, "brian"
>>>>>> <brianx(a)vt.edu>
>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> so since i did this
>>>>>>>>>>
>>>>>>>>>> On Fri, 2011-04-08 at 13:37 -0400,
>>>>>> Lincoln Baxter,
>>>>>>>> III wrote:
>>>>>>>>>>> git pull
>>>>>>>>
>>>>>> git://github.com/forge/plugin-hibernate-tools.git
>>>>>>>> master
>>>>>>>>>>
>>>>>>>>>> and yet your last suggestion worked
>>>>>> (saying my
>>>>>>>> source isn't
>>>>>>>>> updated)...
>>>>>>>>>> did i miss a step to get the source
>>>>>> from repo to
>>>>>>>> the source tree? i
>>>>>>>>> had
>>>>>>>>>> to execute the git pull from the
>>>>>> actual repo,
>>>>>>>> which isn't the way
>>>>>>>>> i'm
>>>>>>>>>> used to seeing maven work.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Lincoln Baxter, III
>>>>>>>>
>>>>>>>> http://ocpsoft.com
>>>>>>>> http://scrumshark.com
>>>>>>>>
>>>>>>>> "Keep it Simple"
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Lincoln Baxter, III
>>>>>>>> http://ocpsoft.com
>>>>>>>> http://scrumshark.com
>>>>>>>> "Keep it Simple"
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Lincoln Baxter, III
>>>>>> http://ocpsoft.com
>>>>>> http://scrumshark.com
>>>>>> "Keep it Simple"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lincoln Baxter, III
>>>>> http://ocpsoft.com
>>>>> http://scrumshark.com
>>>>> "Keep it Simple"
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev(a)lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>> /max
>>>> http://about.me/maxandersen
>>>>
>>>>
>>>>
>>>
>>>
>
>
13 years, 7 months
Re: [forge-dev] hibernate-tools
by Lincoln Baxter, III
Woops!
Looks like I messed up the shade config:
<include>freemarker:null</include>
should be:
<include>org.freemarker:*</include>
~Lincoln
On Wed, Apr 20, 2011 at 4:56 PM, brian <brianx(a)vt.edu> wrote:
> looks like hibernate-tools doesn't have the dependency from freemarker
>
> <dependency>
> <groupId>org.freemarker</groupId>
> <artifactId>freemarker</artifactId>
> <!-- Latest 2.3.x (not 2.4.x), at least 2.3.16 -->
> <version>[2.3.16,2.4)</version>
> </dependency>
>
> ... it mentions freemarker here:
>
> <plugin>
> <artifactId>maven-shade-plugin</artifactId>
> <version>1.4</version>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>shade</goal>
> </goals>
> <configuration>
> <artifactSet>
> <includes>
> <include>antlr:*</include>
> <include>org.hibernate:*</include>
> <include>dom4j:*</include>
> <include>freemarker:null</include>
> </includes>
> </artifactSet>
> </configuration>
> </execution>
> </executions>
> </plugin>
>
>
> ...but i don't know from shade, so i can't read that.
>
>
>
>
>
>
>
>
>
>
> On Wed, 2011-04-20 at 16:36 -0400, Lincoln Baxter, III wrote:
> > while forge is running, type:
> >
> > $ set VERBOSE true
> >
> > you can use <TAB> to see a list of all "$ set" options.
> >
> > On Wed, Apr 20, 2011 at 3:48 PM, brian <brianx(a)vt.edu> wrote:
> >
> >
> > max just sent msg saying out till tues.
> >
> > where would i look for a stacktrace? the shell is giving me a
> > oneliner
> > error:
> >
> > ***ERROR*** [generate-entities]
> > freemarker/template/TemplateException
> >
> > generated on the pj.start() call. attempted to catch
> > exception but it's
> > getting eaten. is there a log file somewhere for a stack
> > trace?
> >
> >
> >
> >
> >
> >
> >
> > On Wed, 2011-04-20 at 12:28 -0400, Lincoln Baxter, III wrote:
> > > Awesome! That;s great news!
> > >
> > > Let's continue this on Forge-dev so that everyone can help
> > out be
> > > available for future reference by other devs.
> > >
> > > Max, do you know what's up with this error? I know you told
> > me at one
> > > point that you can control this type of behavior.
> > >
> > > Thanks,
> > > ~Lincoln
> > >
> > > On Wed, Apr 20, 2011 at 11:59 AM, brian <brianx(a)vt.edu>
> > wrote:
> > >
> > > jmdc.readFromJDBC() is failing with this:
> > >
> > > ***ERROR*** [generate-entities] Duplicate class name
> > > 'edu.vt.middleware.domain.AllFileGroups' generated
> > for
> > > 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'.
> > Same name
> > > where
> > > generated for
> > > 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
> > >
> > > ...there should be a method/flag to tell it to
> > ignore the SYS
> > > tableset,
> > > huh?
> > >
> > >
> > >
> > >
> > >
> > > On Mon, 2011-04-11 at 10:50 -0400, Lincoln Baxter,
> > III wrote:
> > > > I took the liberty of updating the plugin to use
> > the new
> > > APIs and get
> > > > it to run. It doesn't however, succeed, because
> > it's missing
> > > the
> > > > HSQLDB driver, and also has hard-coded JDBC
> > connection
> > > properties.
> > > >
> > > > On Mon, Apr 11, 2011 at 10:43 AM, brian
> > <brianx(a)vt.edu>
> > > wrote:
> > > >
> > > > ok i'm in business. knew it would be
> > something
> > > procedural.
> > > >
> > > > got the source, rebuilt the plugin, it
> > runs.
> > > >
> > > > now: there is already a
> > GenerateEntities.java in
> > > >
> > org.hibernate.forge.plugin.GenerateEntities.java.
> > > >
> > > > the source you sent is in
> > > >
> > >
> > org.jboss.seam.forge.persistence.plugins.GenerateEntities.java
> > > >
> > > >
> > > > ...they look eerily similar. what gives?
> > > >
> > > >
> > > >
> > > > On Mon, 2011-04-11 at 10:33 -0400, brian
> > wrote:
> > > > > aha.
> > > > >
> > > > > On Mon, 2011-04-11 at 10:18 -0400,
> > Lincoln Baxter,
> > > III
> > > > wrote:
> > > > > > With Git, do your changes in the repo
> > directory.
> > > Otherwise
> > > > it will not
> > > > > > be able to track them.
> > > > > >
> > > > > > ~Lincoln
> > > > > >
> > > > > > On Mon, Apr 11, 2011 at 10:17 AM,
> > Lincoln
> > > Baxter, III
> > > > > > <lincolnbaxter(a)gmail.com> wrote:
> > > > > > Your local folder is actually
> > an entire
> > > clone of
> > > > the Git repo,
> > > > > > with every revision from start
> > to
> > > finish. So when
> > > > you
> > > > > > push/pull you are actually
> > synchronizing
> > > > repositories, This
> > > > > > means that if your local repo
> > thinks
> > > it's ahead of
> > > > the remote
> > > > > > repo, nothing will happen.
> > > > > >
> > > > > > Running this command will
> > probably fix
> > > your
> > > > issues:
> > > > > >
> > > > > > `git reset HEAD^1
> > --hard`
> > > > > > `git reset HEAD^1
> > --hard`
> > > > > >
> > > > > > `git pull
> > > > > >
> > > >
> > git://github.com/forge/plugin-hibernate-tools.git
> > > > > > master
> > > > > >
> > > > > > Try those three. (The
> > duplicate is to
> > > make your
> > > > repo think
> > > > > > that it's "behind".)
> > > > > >
> > > > > > I know it's funky, but after I
> > became
> > > familiar,
> > > > the speed and
> > > > > > control are very addictive
> > compared to
> > > SVN. (You
> > > > also don't
> > > > > > have to worry about damaging
> > any .svn/
> > > > directories. Just the
> > > > > > top-level .git/ directory,
> > which is a
> > > whole lot
> > > > less to keep
> > > > > > track of.
> > > > > >
> > > > > > ~Lincoln
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Mon, Apr 11, 2011 at 10:13
> > AM, brian
> > > > <brianx(a)vt.edu> wrote:
> > > > > >
> > > > > > blew away local
> > changes.
> > > > > >
> > > > > > the way i'm used to
> > seeing
> > > mvn/svn work is
> > > > that i have
> > > > > > a repo (in this
> > > > > > case
> > ~/plugin-hibernate-tools)
> > > and a
> > > > working dir (in
> > > > > > this
> > > > > >
> > > >
> > >
> > case /apps/src/brianxlong-plugin-hibernate-tools-2f38225) and
> > > > i make my
> > > > > > changes and do my
> > builds in my
> > > working
> > > > dir.
> > > > > >
> > > > > > am i just doing it
> > wrong?
> > > what's the
> > > > workflow with
> > > > > > git?
> > > > > >
> > > > > >
> > > > > > here's the output i'm
> > seeing
> > > > > > ...
> > > > > >
> > > > > >
> > > brianx@elvis:~/plugin-hibernate-tools$ git
> > > > pull
> > > > > >
> > > >
> > git://github.com/forge/plugin-hibernate-tools.git
> > > > > > master
> > > > > >
> > > > > > >From
> > > >
> > git://github.com/forge/plugin-hibernate-tools
> > > > > > * branch
> > master
> > > ->
> > > > FETCH_HEAD
> > > > > > Already up-to-date.
> > > > > >
> > > > > >
> > > > > > ...
> > > > > >
> > > > > >
> > > brianx@elvis:~/plugin-hibernate-tools$ git
> > > > status
> > > > > > # On branch master
> > > > > > # Your branch is ahead
> > of
> > > 'origin/master'
> > > > by 1 commit.
> > > > > > #
> > > > > > nothing to commit
> > (working
> > > directory
> > > > clean)
> > > > > >
> > > brianx@elvis:~/plugin-hibernate-tools$ git
> > > > remote -v
> > > > > > origin
> > > > > >
> > > >
> > https://github.com/forge/plugin-hibernate-tools
> > > > > > (fetch)
> > > > > > origin
> > > > > >
> > > >
> > https://github.com/forge/plugin-hibernate-tools
> > > > > > (push)
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Mon, 2011-04-11 at
> > 09:37
> > > -0400, Lincoln
> > > > Baxter, III
> > > > > > wrote:
> > > > > > > Hmmm.
> > > > > > >
> > > > > > > That should have
> > worked. What
> > > was the
> > > > output of that
> > > > > > command?
> > > > > > > Similarly, what
> > happens when
> > > you type
> > > > 'git status'
> > > > > > or 'git remote -v'
> > > > > > >
> > > > > > > You might have local
> > changes
> > > that are
> > > > preventing the
> > > > > > merge.
> > > > > > >
> > > > > > > Lincoln Baxter's
> > Droid
> > > > > > > http://ocpsoft.com
> > > > > > >
> > http://scrumshark.com
> > > > > > > Keep it simple.
> > > > > > >
> > > > > > > On Apr 11, 2011 9:33
> > AM,
> > > "brian"
> > > > <brianx(a)vt.edu>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > so since i did
> > this
> > > > > > > >
> > > > > > > > On Fri, 2011-04-08
> > at 13:37
> > > -0400,
> > > > Lincoln Baxter,
> > > > > > III wrote:
> > > > > > > >> git pull
> > > > > >
> > > >
> > git://github.com/forge/plugin-hibernate-tools.git
> > > > > > master
> > > > > > > >
> > > > > > > > and yet your last
> > suggestion
> > > worked
> > > > (saying my
> > > > > > source isn't
> > > > > > > updated)...
> > > > > > > > did i miss a step
> > to get the
> > > source
> > > > from repo to
> > > > > > the source tree? i
> > > > > > > had
> > > > > > > > to execute the git
> > pull from
> > > the
> > > > actual repo,
> > > > > > which isn't the way
> > > > > > > i'm
> > > > > > > > used to seeing
> > maven work.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Lincoln Baxter, III
> > > > > >
> > > > > > http://ocpsoft.com
> > > > > > http://scrumshark.com
> > > > > >
> > > > > > "Keep it Simple"
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Lincoln Baxter, III
> > > > > > http://ocpsoft.com
> > > > > > http://scrumshark.com
> > > > > > "Keep it Simple"
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Lincoln Baxter, III
> > > > http://ocpsoft.com
> > > > http://scrumshark.com
> > > > "Keep it Simple"
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Lincoln Baxter, III
> > > http://ocpsoft.com
> > > http://scrumshark.com
> > > "Keep it Simple"
> >
> >
> >
> >
> >
> >
> > --
> > Lincoln Baxter, III
> > http://ocpsoft.com
> > http://scrumshark.com
> > "Keep it Simple"
>
>
>
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
13 years, 7 months