Home | Oracle ECM Home Page  | Oracle ECM Documentation  | Oracle ECM Downloads  | Oracle ECM Forums  | Yahoo Intradoc Users Group Feed your aggregator (RSS 2.0)  
  Oracle Fusion ECM Blog. Are you "kuh n-tent" with your "kon-tent"?
 
 
# Sunday, November 30, 2008

This is the last post in November, which has turned out to be a garbage month for blog posts.  Sorry about that.

Tonight I have been trying to update my password set across the various sites I use, and let's just say this has been difficult to say the least.  Verizon Wireless does not support special characters, so there goes that password out the window.  United Airlines had a javascript error on their password update page that prevented me from updating my password.  The list goes on.  This has been a struggle.  I guess I am going to throw out my vote for more support for OpenID or something like it.

Please.  Corporate America, if you're listening, start working with OpenID or pick something else and make it popular.  Just get together.  Talk.  Drink.  Whatever.  Get it in gear.  Well, 47 more passwords to change and the night is not getting any younger.

Sunday, November 30, 2008 8:37:25 PM (Central Standard Time, UTC-06:00)  #    Comments [0]   Mindlessness  | 
# Tuesday, November 25, 2008

Add this to config.cfg:

dOriginalName:maxLength=<your value>

Then, you'll need to widen out the field (dOriginalName) in the Document table itself.

You might need to do this if your are importing content from another server or checking in content that has extremely long file names.

Tuesday, November 25, 2008 7:20:54 PM (Central Standard Time, UTC-06:00)  #    Comments [0]   Oracle UCM  | 
# Monday, November 03, 2008

I have always wanted a quick way to build components without firing up ComponentWizard. I'm not talking about the actual construction of the component like adding resources. I'm talking about the assembly of the component zip file. Combing through the intradoc user group and other online forums can yield a little discussion about Apache ANT being used to construct component zip files. However, I did not find an easy reference to an actual ant file for such purpose.

So once we have this ability to create component zips what else can we do with it? Most projects do not consist of a single component. The components are also not completed in a linear fashion. Generally components that are completed will typically have adjustments being made throughout the project. Using a tool like ant we can orchestrate the build of multiple components at once. This orchestration can even include tasks such as placing built components in shared folders or uploading them to an FTP location.

As for using the Component Wizard to lay out the component architecture you might want to add the build file as a component extra. Then the installation of the component at a target location brings the build file along for the ride.

Here's an example build file:

<project name="CompName" default="dist" basedir=".">
 <property name="build.home" value="${basedir}/classes"/>
 <property name="src.home" value="${basedir}/src"/>
 <property name="compile.debug" value="true"/>
 <property name="compile.deprecation" value="true"/>
 <property name="component.root" value="component/${ant.project.name}/"/>

 <path id="compile.classpath">
  <pathelement location="${basedir}/../../shared/classes/server.zip"/>
  <pathelement location="${basedir}/../../shared/classes/jspserver.jar"/>
 </path>

 <target name="clean">
  <delete dir="${build.home}"/>
  <mkdir dir="${build.home}"/>
 </target>

 <target name="compile" depends="clean">
  <javac srcdir="${src.home}" destdir="${build.home}" debug="${compile.debug}" deprecation="${compile.deprecation}">
   <classpath refid="compile.classpath"/>
  </javac>
 </target>

 <target name="dist" depends="compile" description="Package as a Fusion ECM Component">
  <delete file="${basedir}/${ant.project.name}.zip"/>
  <tstamp>
   <format property="component.timestamp" pattern="yyyy_MM_dd_hh_mm_ss_aa"/>
  </tstamp>

  <zip destfile="${basedir}/${component.timestamp}_${ant.project.name}.zip">
   <zipfileset dir="${src.home}" prefix="${component.root}src"/>
   <zipfileset dir="${build.home}" prefix="${component.root}classes"/>
   <zipfileset dir="${basedir}/resources" excludes="**/lockwait.dat" prefix="${component.root}resources"/>
   <zipfileset dir="${basedir}" includes="${ant.project.name}.hda" fullpath="${component.root}${ant.project.name}.hda"/>
   <zipfileset dir="${basedir}" includes="build.xml" fullpath="${component.root}build.xml"/>
   <zipfileset dir="${basedir}" includes="readme.txt" fullpath="${component.root}readme.txt"/>
   <zipfileset dir="${basedir}" includes="manifest.hda" fullpath="manifest.hda"/>
  </zip>
 </target>
</project>

Monday, November 03, 2008 8:30:25 PM (Central Standard Time, UTC-06:00)  #    Comments [2]   Oracle UCM  | 
Copyright © 2009 Jason Stortz. All rights reserved.