Latest SVN build discussion

Download and discuss official beta builds here

Re: Latest SVN build discussion

Postby MKUltra » Sun Jan 15, 2012 10:22 pm

Raptor399 wrote:
MKUltra wrote:Where should the jgoodies files be saved before maven does the installation?

Short answer: you don't have to know. ;-)
The commands above will take care of everything.


Long answer: Maven uses a local repository to store dependencies. By default it will use "~/.m2/repository" for downloading and storing all required files. Look inside that directory, and you will find quite a few directories a being created during the build process. You can manually put files in there, but you will have to stick with the naming conventions Maven uses, or it will not be able to detect files. This means you will have to know the groupId, artifactId and packaging of every file you want to place, and create directories and files accordingly. The commands above will take care of installing the required jgoodies files correctly for you. No need to touch any directories.



Thanks. I tried the manual installation based on what you provided, then I ran the external-resolve and external-install goals and everything works fine now.
Mac Mini 2.26 GHz Intel Core 2 Duo 4 GB RAM OS 10.7.2/Airport Extreme Basestation (Early 2009) Wireless N/PS3-Fatboy 40GB/1Gibps via Cat 6 LAN connection w/ Airport Extreme/PS3 connected via HDMI to Denon AVR-3808CI
MKUltra
 
Posts: 75
Joined: Sun Aug 30, 2009 10:41 pm

Re: Latest SVN build discussion

Postby marco275 » Fri Jan 20, 2012 6:34 pm

Hi Raptor,

Just tried to build PMS with the builder tool but it failed. (See picture.)
Could it be that your updated build script broke PMS builder tool?
Attachments
PMS builder faillure.JPG
PMS builder faillure.JPG (172.29 KiB) Viewed 618 times
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

Re: Latest SVN build discussion

Postby Raptor399 » Fri Jan 20, 2012 8:40 pm

I don't know about the builder tool, but that's the output of the FormatRecognitionTest you see. That test verifies if the renderer.conf with the name "Playstation 3" is configured correctly to support a PS3.

If you use the default PS3.conf, the test should not fail. Remove or change PS3.conf and it will cause errors like the ones you see.

For reference, when I try to build the latest version on OSX I get no errors:
Code: Select all
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.pms.test.formats.FormatRecognitionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 sec
Running net.pms.test.formats.FormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running net.pms.test.RendererConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running net.pms.test.TaskRunnerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.022 sec

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest SVN build discussion

Postby lightglitch » Fri Jan 20, 2012 9:42 pm

Raptor399 wrote:I don't know about the builder tool, but that's the output of the FormatRecognitionTest you see. That test verifies if the renderer.conf with the name "Playstation 3" is configured correctly to support a PS3.


I can confirm the problem on windows I just cloned the repo and compiled on netbeans and using maven on the command line.
lightglitch a.k.a Mário Franco
lightglitch
Project Member
 
Posts: 113
Joined: Mon Jun 22, 2009 2:58 pm

Re: Latest SVN build discussion

Postby meskibob » Fri Jan 20, 2012 9:45 pm

I compiled manually this morning (after the latest change to the master) without any issues... This in a Win 7 x64 box with 64-bit Sun JDK.
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4788
Joined: Mon Jan 19, 2009 4:11 pm

Re: Latest SVN build discussion

Postby Raptor399 » Fri Jan 20, 2012 10:11 pm

lightglitch wrote:
Raptor399 wrote:I don't know about the builder tool, but that's the output of the FormatRecognitionTest you see. That test verifies if the renderer.conf with the name "Playstation 3" is configured correctly to support a PS3.


I can confirm the problem on windows I just cloned the repo and compiled on netbeans and using maven on the command line.

Hrmmm... Can you clean up the target directory with:
Code: Select all
mvn clean

and then try building again with:
Code: Select all
mvn package

If it bombs out again, there might be more information available in the "target/surefire-reports/net.pms.test.formats.FormatRecognitionTest.txt".
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest SVN build discussion

Postby lightglitch » Fri Jan 20, 2012 11:48 pm

After some debug I check that the mediainfo is not being loaded and the:

Code: Select all
   public boolean isMediaParserV2() {
      return getBoolean(MEDIAPARSERV2, false) && MediaInfoParser.isValid();
   }


returns false because of it.
That's why the tests fail.

Edit:

This should return always true on testing.
Code: Select all
MediaInfoParser.isValid()
lightglitch a.k.a Mário Franco
lightglitch
Project Member
 
Posts: 113
Joined: Mon Jun 22, 2009 2:58 pm

Re: Latest SVN build discussion

Postby marco275 » Sat Jan 21, 2012 12:25 am

Raptor399 wrote:I don't know about the builder tool, but that's the output of the FormatRecognitionTest you see. That test verifies if the renderer.conf with the name "Playstation 3" is configured correctly to support a PS3.

If you use the default PS3.conf, the test should not fail. Remove or change PS3.conf and it will cause errors like the ones you see.

For reference, when I try to build the latest version on OSX I get no errors:
Code: Select all
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.pms.test.formats.FormatRecognitionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 sec
Running net.pms.test.formats.FormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running net.pms.test.RendererConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running net.pms.test.TaskRunnerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.022 sec

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0

Works again :D

Thanks guys :)
Last edited by marco275 on Sat Jan 21, 2012 12:36 am, edited 2 times in total.
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

Re: Latest SVN build discussion

Postby Raptor399 » Sat Jan 21, 2012 12:26 am

Thanks for the speedy analysis, lightglitch!
Fix committed.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Latest SVN build discussion

Postby marco275 » Sat Jan 21, 2012 11:15 pm

Hi,

I see something is changed in the plugin management in the last commit, resulting in that the shutdown plugin is not working anymore.
Under the 'traces' tab i can see that the plugin is found en loaded and the folder is showing but when I open the folder it says 'no titles'. :(
It's the only plugin i use so I don't know if other plugins are afected.

Thanx in advance.
marco275
 
Posts: 177
Joined: Thu Feb 05, 2009 2:29 pm

PreviousNext

Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 3 guests