Hi Arthur,
To fully rebuild your DSpace you need to do the following
-- run the following command to compile the source code of the project
cd [dspace-source]/dspace/
mvn compile
-- then rebuild the DSpace installation package by running the following
command from your [dspace-source]/ dspace/ directory:
cd [dspace-source]/dspace/
mvn -U clean package
Then continue the quick rebuild:
-- Update all DSpace webapps to [dspace]/webapps by running the following
command from your [
dspace-source]/dspace/target/dspace-[version]-build.dirdirectory:
cd [dspace-source]/dspace/target/dspace-[version]-build.dir/
ant update -Dwars=true
stop tomcat
start tomcat
check for changes :)
Hope this helps!
All the best,
Asmaa
Have a Blessed and Productive Ramadan!
Asmaa
--
"If You stand for a reason, be prepared to stand alone. If you fight for a
cause, fight even if there is no hope. If you fall on the ground, fall as a
seed...that grows back to fight again." ~Sathya G
"According to all known laws of aviation, there is no way a bee should be
able to fly. Its wings are too small to get its fat little body off the
ground. The bee, of course, flies anyway, because bees don't care what
humans think is impossible." ~Bee Movie
On Mon, Jul 6, 2015 at 3:04 PM, Arthur Sady Cordeiro Rossetti <
arthurs...@gmail.com> 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>:
>
>> 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
>> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>>
>> --
>>
>>
>>
>> ------------------------------
>> [image: 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
>> 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