Glen,
Arg, needed to add these:
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
to the roller-custom.properties. Thought it was a bit odd that the change
made no difference.
OK agreed that it works! Phew!
Oops, we're talking two different things (on different planets, so to
speak :) I tested and fixed only Media File *Directories*, I didn't look
at Media files themselves, my fix had nothing to do with that. Offhand
for Hibernate at least Media files (as well as directories) however are
adding a
You and I are on different planets. The app should be running fine,
including adding. I think it's the Eclipse beast that is messing things
up for you. Can you do an mvn clean install (in command window, no
Eclipse), and start up standalone Tomcat (no Eclipse) and place the
roller.war in the
I'm puzzled here because when I committed those simple changes yesterday
I had tested it both with EL and Hibernate. The Roller *application*
should be running fine with either JPA stack, but it's not with you? Or
are you just testing the test cases and not the application (but even
so, mvn c
Glen,
Adding a media file does not work either. :(
Maybe loose the named query?
Glen,
I was just testing if hibernate was the solution, and its not, may as well
revert back to eclipselink. Just a thought, are there any more like this,
where there is a named query and then a delete on the association.
Cheer Greg.
On 31 July 2013 15:59, Glen Mazza wrote:
> You're not s
You're not supposed to comment out removeChildDirectory(), it's part of
the solution now that works both on Eclipselink and Hibernate (at least
as I tested on both yesterday), it's not a patch. It just so happens
that Hibernate doesn't need that line of code, but it doesn't hurt
Hibernate if i
Glen,
It still does not work, even if we are on hibernate. If I comment out your
mediaFileDir.getParent().removeChildDirectory(mediaFileDir); change it does
not delete the folder.
So I guess there is something else wrong, or may be its correct and and
that is what we are supposed to do on JPA.
Glen,
The mods are just to clear the files prior to running a test class again.
The user names are prefixed with junit_
Using eclipse, to run Junit launches.
Basically I have two projects in eclipse one where m2e mucks about with a
standard non maven webapp project. With eclipse you just have t
Does "junit-cleartables-mysql.sql" have to be in "main" (for the types
of tests you're doing, i.e., the test classes aren't always available)
-- if it's only for testing, can it be in "test" (i.e., test/resources/sql)?
Glen
On 07/31/2013 08:48 AM, ghu...@apache.org wrote:
Author: ghuber
Date:
I'm not a email list moderator, and one isn't around right now.
Did you try sending an email to "dev-unsubscr...@roller.apache.org" from
the gmail account you subscribed from? It should work.
Glen
On 07/31/2013 09:23 AM, Yufu Huang wrote:
> Could someone unsubscribe me from this mail list? I tri
Team, I'd like to switch to Brian Matthew's inmemdb-maven-plugin
(https://github.com/bmatthews68/inmemdb-maven-plugin) for our JUnit and
mvn jetty:run testing. It handles the in-memory Derby database that
runs while we activate our tests. This will allow us to delete the
org.apache.roller.der
Could someone unsubscribe me from this mail list? I tried unsubscribe email but
did not work. Thanks.
Sent from my iPhone
On Jul 30, 2013, at 3:36 PM, Glen Mazza wrote:
> Fixed the Eclipselink issue in a way that the code will still work with
> Hibernate. We'll keep the Hibernate for awhile
It should be Hibernate -- it's very easy to check, just look at the
app/pom.xml, comment one dependency and uncomment the other. (Unless
you're running on GlassFish then it's Eclipselink no matter what.)
Regardless, it should work with either JPA stack because of my fixes
yesterday.
Basical
Glen,
It builds OK now.
I have updated to the trunk but the test is still showing its not
refreshing the association. Are we on hibernate or EclipseLink?
Cheers Greg
On 31 July 2013 13:14, Glen Mazza wrote:
> Just one failure as a result of the update (mvn clean install worked
> before it).
BTW, this new functionality you put in, how do we use it/where does it help?
Glen
On 07/31/2013 08:50 AM, ghu...@apache.org wrote:
Author: ghuber
Date: Wed Jul 31 12:50:42 2013
New Revision: 1508837
URL: http://svn.apache.org/r1508837
Log:
Make tests easier to run locally.
Modified:
roll
Greg, could this be on your end? You must have updated yesterday to get
onto Hibernate, and my only changes were minor ones related to Media
File stuff.
Glen
On 07/31/2013 08:14 AM, Glen Mazza wrote:
Just one failure as a result of the update (mvn clean install worked
before it). And some t
Just one failure as a result of the update (mvn clean install worked
before it). And some typos. :)
BTW, the new database script you created, would you mind moving it to
test/resources/sql folder? (like we have main/resources/sql already?)
Also, I'm usually on the #roller IRC so you might
Glen,
I have made some changes to enable local testing and after updating from
the trunk nothing is working.
http://repo1.maven.org/ says 501. Why does it not ignore this? :(
Can you see if the tests still work?
Also, I have done the test on the directory and will check this later when
its bac
19 matches
Mail list logo