Hi Arthur,

Yes, if you modify the source code under [dspace-src]/dspace-api/ you MUST do a full build for those changes to take effect. The full build does a recompile of all source code, and will rebuild each of the JARs. Once the JAR has been rebuilt though, you can run "quick builds" in the future (unless you make another source code change affecting the JAR)

The quick build *only* works for changes under [dspace-src]/dspace/. It's essentially a way to rebuild the "dspace-installer" without recompiling *all* the source code.

For more information, see: https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation

- Tim

On 7/6/2015 8:04 AM, Arthur Sady Cordeiro Rossetti wrote:
Thank you Adan,

I was able to confirm that my modifications are really not getting to the compiled code, does anyone know if I have to re do a full build after each change? Because im doing just the quick build.

Or maybe another problem that im not aware of?


Regards

2015-07-04 7:44 GMT-03:00 Adan Román Ruiz <aro...@arvo.es <mailto:aro...@arvo.es>>:

    Hi Arthur

    You can use Java decompiler (http://jd.benow.ca/) to
    dspace-api-3.1.jar, that is deployed into WEB-INF/lib directory of
    all webapps.

    regards

    Hi, Im having some trouble with some changes im making in my
    dspace source code. Im trying to change the way dspace
    automatically saves the dc.date.accessioned variable in the the
    database. To do that, i tried to change in the directory
    ../dspace-api/src/main/java/org/dspace/content

    the files
    DCDate.java
    InstallItem.java
    Item.java

    I tried changing the timezone, tried to change the dates with
    fixed values and some other modifications, but when I add a new
    Item to a collection it still gets the time as if I were in UTC
    time. Not even when i set the dates to a determined value it worked.

    My conclusion is that maybe the changes im making are not
    reaching the application after i do a quick rebuild in dspace and
    reconfigure the settings.

    Does anyone knows a way for me to check if the changes in those
    files are acctually taking place?
-- Arthur Sady C. Rossetti





    
------------------------------------------------------------------------------
    Don't Limit Your Business. Reach for the Cloud.
    GigeNET's Cloud Solutions provide you with the tools and support that
    you need to offload your IT needs and focus on growing your business.
    Configured For All Businesses. Start Your Cloud Today.
    https://www.gigenetcloud.com/


    _______________________________________________
    DSpace-tech mailing list
    DSpace-tech@lists.sourceforge.net
    <mailto:DSpace-tech@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/dspace-tech
    List 
Etiquette:https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--


    ------------------------------------------------------------------------
    Avast logo <https://www.avast.com/antivirus>  

    El software de antivirus Avast ha analizado este correo
    electrónico en busca de virus.
    www.avast.com <https://www.avast.com/antivirus>



    
------------------------------------------------------------------------------
    Don't Limit Your Business. Reach for the Cloud.
    GigeNET's Cloud Solutions provide you with the tools and support that
    you need to offload your IT needs and focus on growing your business.
    Configured For All Businesses. Start Your Cloud Today.
    https://www.gigenetcloud.com/
    _______________________________________________
    DSpace-tech mailing list
    DSpace-tech@lists.sourceforge.net
    <mailto:DSpace-tech@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/dspace-tech
    List Etiquette:
    https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Arthur Sady C. Rossetti





------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to