Powered By Blogger

Wednesday, May 27, 2015

Maven setting up global proxy

Below proxy setting needs to be done

Below setting needs to be copied in the location C:\Users\bp823602\Documents\Maven\apache-maven-3.2.3-bin\apache-maven-3.2.3\conf\settings.xml

 
   
   

      optional
      true
      http  
      3.20.128.5
      88    
   
 
   
 

Maven jars download

To download the jars , use below command after installing maven

C:\Users\bp82602>mvn org.apache.directory.server:apacheds-all:2.0.0-M20

It will download jars for the configuration

org.apache.directory.server
apacheds-all
2.0.0-M20






Tuesday, May 26, 2015

Making lucene to work with datetime stamp

Configuring DateTime resolution

To get full DateTime resolution for quantified predicates and ordering the analyzer for date time in Alfresco needs to changed from date to date time. This will also require an index rebuild if the change is not made at installation time.
Note: this was raised as a Jira in https://issues.alfresco.com/jira/browse/ALF-5378
In classes/alfresco/model/dataTypeAnalyzers.properties
change:
d_dictionary.datatype.d_datetime.analyzer=org.alfresco.repo.search.impl.lucene.analysis.DateAnalyser
into:
 d_dictionary.datatype.d_datetime.analyzer=org.alfresco.repo.search.impl.lucene.analysis.DateTimeAnalyser