Retrieving App Title from jrebirth.properties

22 views
Skip to first unread message

Rajmahendra R

unread,
Jun 3, 2013, 5:13:20 AM6/3/13
to jrebirth-...@googlegroups.com
JR already have the jrebirth.properties for setting up some basic properties...

then we can provide a standard property key in jrebirth.properties to reduce this method from user entry.

    @Override
    protected String getApplicationTitle() {
        return "Mastering Tables - Powered by JRebirth";
    }

we can make this method protected and not a abstract if user want to overr ight this let me do so till then app uses jrebirth.properties property to retrieve application caption.

Sebastien Bordes

unread,
Jun 3, 2013, 5:41:10 AM6/3/13
to jrebirth-...@googlegroups.com
Yes it will be easier.

This method is historically here because parameters engine wasn't available.

Moreover the startup should be revised with a progress bar to load all resources (in a second time)

I have created an issue for 0.7.4, I will try to release this version before mid-june (perhaps this week-end, I have to repaire some nasty code I put for MasteringTables compliance (Attach & DetachModel revised) )

It will break a lot of things for TrakStok, I will help you for the migration.

Seb 

rajma...@gmail.com

unread,
Jun 3, 2013, 5:51:54 AM6/3/13
to jrebirth-...@googlegroups.com
Sure.

I pulled code of MasteringTables and i see some compilation errors.. i will wait till the next new code available.


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes JRebirth Developers.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-develo...@googlegroups.com.
Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 



--
Thank you and regards,
Rajmahendra R Hegde (Raj)
Website:
http://www.twitter.com/rajonjava
http://www.jugchennai.in             
----------------------------------------------------------------------------------------------
"DREAM is not what you see in sleep;
is the thing which does not let you sleep" - APJ Abdul Kalam
Do the difficult things while they are easy and do the great things while they are small.
A journey of a thousand miles must begin with a single step. - Lao Tzu


Sebastien Bordes

unread,
Jun 3, 2013, 6:57:03 AM6/3/13
to jrebirth-...@googlegroups.com
Are you sure  ?

http://ci.jrebirth.org/job/MasteringTables-master/lastSuccessfulBuild/

Seb


Le lundi 3 juin 2013 11:51:54 UTC+2, Rajmahendra R a écrit :
Sure.

I pulled code of MasteringTables and i see some compilation errors.. i will wait till the next new code available.
On Mon, Jun 3, 2013 at 3:11 PM, Sebastien Bordes <sebastie...@gmail.com> wrote:
Yes it will be easier.

This method is historically here because parameters engine wasn't available.

Moreover the startup should be revised with a progress bar to load all resources (in a second time)

I have created an issue for 0.7.4, I will try to release this version before mid-june (perhaps this week-end, I have to repaire some nasty code I put for MasteringTables compliance (Attach & DetachModel revised) )

It will break a lot of things for TrakStok, I will help you for the migration.

Seb 

Le lundi 3 juin 2013 11:13:20 UTC+2, Rajmahendra R a écrit :
JR already have the jrebirth.properties for setting up some basic properties...

then we can provide a standard property key in jrebirth.properties to reduce this method from user entry.

    @Override
    protected String getApplicationTitle() {
        return "Mastering Tables - Powered by JRebirth";
    }

we can make this method protected and not a abstract if user want to overr ight this let me do so till then app uses jrebirth.properties property to retrieve application caption.

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes JRebirth Developers.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-developers+unsub...@googlegroups.com.

Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

rajma...@gmail.com

unread,
Jun 3, 2013, 7:24:26 AM6/3/13
to jrebirth-...@googlegroups.com
oops!

Then it should be in my setting .xml ?

some error like import org.jrebirth.core.ui.DefaultObjectModel; not found etc...


i am using All in one setup

<profiles>
    <profile>
        <id>JRebirth_All-In-One</id>
        <repositories>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>central</id>
                <name>bintray</name>
                <url>http://jcenter.bintray.com</url>
            </repository>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>releases</id>
                <name>libs-release</name>
                <url>http://repo.jrebirth.org/libs-release</url>
            </repository>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>snapshots</id>
                <name>libs-snapshot</name>
                <url>http://repo.jrebirth.org/libs-snapshot</url>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>central</id>
                <name>bintray-plugins</name>
                <url>http://jcenter.bintray.com</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>central</id>
                <name>plugins-release</name>
                <url>http://repo.jrebirth.org/plugins-release</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
                <id>snapshots</id>
                <name>plugins-snapshot</name>
                <url>http://repo.jrebirth.org/plugins-snapshot</url>
            </pluginRepository>
        </pluginRepositories>
    </profile>
</profiles>



Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-develo...@googlegroups.com.

Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

Sebastien Bordes

unread,
Jun 3, 2013, 7:52:58 AM6/3/13
to jrebirth-...@googlegroups.com
DefaultObjectModel is a new feature of 0.7.4-SNASPHOT

Cold you browse the libs-snapshot repo to find org/jrebirth/core/core-0.7.4-SNAPSHOT.jar

Perhaps the repo is badly configured (I'll check it tonight, I have some troubles with an hard disk which corrupt periodically some files).

Seb
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-developers+unsubscribe...@googlegroups.com.

rajma...@gmail.com

unread,
Jun 3, 2013, 8:31:00 AM6/3/13
to jrebirth-...@googlegroups.com
No. I see only DefaultModel but not DefaultObjectModel.


Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse jrebirth-develo...@googlegroups.com.

Pour plus d'options, visitez le site https://groups.google.com/groups/opt_out .
 
 

Sebastien Bordes

unread,
Jun 3, 2013, 8:48:17 AM6/3/13
to jrebirth-...@googlegroups.com
File has been pushed and compiled by jenkins

https://github.com/JRebirth/JRebirth/blob/master/org.jrebirth/core/src/main/java/org/jrebirth/core/ui/DefaultObjectModel.java

Do you have core-0.7.4-SNAPSHOT.jar ?

if yes, delete it and relaunch the build

otherwise download from website http://apps.jrebirth.org/org.jrebirth/JRebirth-0.7.4-SNAPSHOT.tar.gz and copy manually jars

Sebastien Bordes

unread,
Jun 3, 2013, 4:01:53 PM6/3/13
to jrebirth-...@googlegroups.com
There are errors into these settings, I regenerate the doc

Check this page within 10min

http://latest.jrebirth.org/doc/Installation.html

Sebastien Bordes

unread,
Jun 3, 2013, 4:17:27 PM6/3/13
to jrebirth-...@googlegroups.com
The corrected version;

<profiles>
    <profile>
        <id>JRebirth_All-In-One</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <repositories>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>jcenter</id>
                <name>bintray</name>
                <url>http://jcenter.bintray.com</url>
            </repository>
            <repository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>jrebirth-release</id>
                <name>libs-release</name>
                <url>http://repo.jrebirth.org/libs-release</url>
            </repository>
            <repository>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
                <id>jrebirth-snapshot</id>
                <name>libs-snapshot</name>
                <url>http://repo.jrebirth.org/libs-snapshot</url>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>jcenter-plugin</id>
                <name>bintray-plugins</name>
                <url>http://jcenter.bintray.com</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <id>jrebirth-plugin-release</id>
                <name>plugins-release</name>
                <url>http://repo.jrebirth.org/plugins-release</url>
            </pluginRepository>
            <pluginRepository>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
                <id>jrebirth-plugin-snapshot</id>
                <name>plugins-snapshot</name>
                <url>http://repo.jrebirth.org/plugins-snapshot</url>
            </pluginRepository>
        </pluginRepositories>
    </profile>
</profiles>

Rajmahendra R

unread,
Jun 4, 2013, 1:29:17 AM6/4/13
to jrebirth-...@googlegroups.com
Mastering Tables is fine now.

We can also have a property called

defaultStylesheet=default.css

so this reduces user to set some explicit css setups.

Sebastien Bordes

unread,
Jun 4, 2013, 4:14:00 AM6/4/13
to jrebirth-...@googlegroups.com
Does the new profiles section solve your problem ?

Yes, it could be interesting to add a shortcut, I will create an issue.
Reply all
Reply to author
Forward
0 new messages