Skip to content

Commit

Permalink
Importa??o Inicial
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo buzar authored and danilo buzar committed Mar 14, 2012
0 parents commit 79d1043
Show file tree
Hide file tree
Showing 1,890 changed files with 81,084 additions and 0 deletions.
Binary file added Gerenciamento/Modulos.xls
Binary file not shown.
6 changes: 6 additions & 0 deletions alfresco-portuguese/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Empty file added alfresco-portuguese/.hgignore
Empty file.
17 changes: 17 additions & 0 deletions alfresco-portuguese/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>alfresco-portuguese</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions alfresco-portuguese/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Tue Mar 13 16:22:46 BRT 2012
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
217 changes: 217 additions & 0 deletions alfresco-portuguese/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
<project name="Alfresco Portuguese (pt_PT and pt_BR) Language Pack" default="dist-amp-pt_ALL" basedir=".">

<property file="build.properties" />
<property file="${user.home}/build.properties" />

<property name="config.dir.explorer.pt_BR" value="pt_BR/explorer/config" />
<property name="config.dir.share.pt_BR" value="pt_BR/share/config" />
<property name="config.dir.explorer.pt_PT" value="pt_PT/explorer/config" />
<property name="config.dir.share.pt_PT" value="pt_PT/share/config" />
<property name="build.dir" value="build" />
<property name="ascii.dir" value="${build.dir}/ascii" />
<property name="classes.dir" value="${build.dir}/classes" />
<property name="dist.dir" value="${build.dir}/dist" />
<property name="copy.verbose" value="false" />

<target name="clean" description="Prepare for build">
<delete dir="${build.dir}" />
<delete dir="${dist.dir}" />
</target>

<target name="prepare" description="Prepare for build">
<mkdir dir="${build.dir}" />
<mkdir dir="${ascii.dir}" />
<mkdir dir="${classes.dir}" />
<mkdir dir="${dist.dir}/pt_BR" />
<mkdir dir="${dist.dir}/pt_PT" />
<mkdir dir="${dist.dir}/pt_ALL" />
</target>

<target name="build-explorer-pt_BR" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/pt_BR/explorer/config/alfresco/messages" />
<mkdir dir="${classes.dir}/pt_BR/explorer/config/alfresco/workflow" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.explorer.pt_BR}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}/alfresco/messages" dest="${ascii.dir}/explorer/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}/alfresco/workflow" dest="${ascii.dir}/explorer/config/alfresco/workflow" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}/alfresco" dest="${ascii.dir}/explorer/config/alfresco" includes="**/*.xml" ext=".xml" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}" dest="${ascii.dir}/explorer" includes="module.properties" />

<copy todir="${classes.dir}/pt_BR/explorer/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/explorer" includes="**/*.*" />
</copy>

</target>

<target name="build-explorer-pt_PT" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/pt_PT/explorer/config/alfresco/messages" />
<mkdir dir="${classes.dir}/pt_PT/explorer/config/alfresco/workflow" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.explorer.pt_PT}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}/alfresco/messages" dest="${ascii.dir}/explorer/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}/alfresco/workflow" dest="${ascii.dir}/explorer/config/alfresco/workflow" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}/alfresco" dest="${ascii.dir}/explorer/config/alfresco" includes="**/*.xml" ext=".xml" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}" dest="${ascii.dir}/explorer" includes="module.properties" />

<copy todir="${classes.dir}/pt_PT/explorer/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/explorer" includes="**/*.*" />
</copy>

</target>

<target name="build-explorer-pt_ALL" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/explorer/config/alfresco/messages" />
<mkdir dir="${classes.dir}/explorer/config/alfresco/workflow" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.explorer.pt_BR}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.explorer.pt_PT}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}/alfresco/messages" dest="${ascii.dir}/explorer/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_PT}/alfresco/workflow" dest="${ascii.dir}/explorer/config/alfresco/workflow" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}/alfresco/messages" dest="${ascii.dir}/explorer/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.explorer.pt_BR}/alfresco/workflow" dest="${ascii.dir}/explorer/config/alfresco/workflow" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="." dest="${ascii.dir}/explorer/config/alfresco" includes="web-client-config.xml" />

<native2ascii encoding="UTF-8" src="." dest="${ascii.dir}/explorer" includes="module.properties" />

<copy todir="${classes.dir}/explorer/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/explorer" includes="**/*.*" />
</copy>

</target>

<target name="build-share-pt_BR" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/pt_BR/share/config/alfresco/messages" />
<mkdir dir="${classes.dir}/pt_BR/share/config/alfresco/web-extension/site-webscripts" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.share.pt_BR}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_BR}/alfresco/messages" dest="${ascii.dir}/share/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_BR}/alfresco/site-webscripts" dest="${ascii.dir}/share/config/alfresco/web-extension/site-webscripts" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_BR}" dest="${ascii.dir}/share" includes="module.properties" />

<copy todir="${classes.dir}/pt_BR/share/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/share" includes="**/*.*" />
</copy>

</target>

<target name="build-share-pt_PT" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/pt_PT/share/config/alfresco/messages" />
<mkdir dir="${classes.dir}/pt_PT/share/config/alfresco/web-extension/site-webscripts" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.share.pt_PT}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_PT}/alfresco/messages" dest="${ascii.dir}/share/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_PT}/alfresco/site-webscripts" dest="${ascii.dir}/share/config/alfresco/web-extension/site-webscripts" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_PT}" dest="${ascii.dir}/share" includes="module.properties" />

<copy todir="${classes.dir}/pt_PT/share/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/share" includes="**/*.*" />
</copy>

</target>

<target name="build-share-pt_ALL" description="Build property files ready for deployment">

<mkdir dir="${classes.dir}/share/config/alfresco/messages" />
<mkdir dir="${classes.dir}/share/config/alfresco/web-extension/site-webscripts" />

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.share.pt_PT}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="${config.dir.share.pt_BR}" excludes="**/*.properties" />
</copy>

<copy todir="${ascii.dir}" verbose="${copy.verbose}" includeEmptyDirs="false">
<fileset dir="." includes="readme.txt" />
</copy>

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_BR}/alfresco/messages" dest="${ascii.dir}/share/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_BR}/alfresco/site-webscripts" dest="${ascii.dir}/share/config/alfresco/web-extension/site-webscripts" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_PT}/alfresco/messages" dest="${ascii.dir}/share/config/alfresco/messages" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="${config.dir.share.pt_PT}/alfresco/site-webscripts" dest="${ascii.dir}/share/config/alfresco/web-extension/site-webscripts" includes="**/*.properties" ext=".properties" />

<native2ascii encoding="UTF-8" src="." dest="${ascii.dir}/share" includes="module.properties" />

<copy todir="${classes.dir}/share/" verbose="${copy.verbose}">
<fileset dir="${ascii.dir}/share" includes="**/*.*" />
</copy>

</target>

<target name="dist-amp-pt_BR" description="Create AMP file of the language pack pt_BR" depends="clean,prepare,build-explorer-pt_BR,build-share-pt_BR">
<zip destfile="${dist.dir}/pt_BR/alfresco-explorer-langpack-pt_BR.amp" basedir="${classes.dir}/pt_BR/explorer" />
<zip destfile="${dist.dir}/pt_BR/alfresco-share-langpack-pt_BR.amp" basedir="${classes.dir}/pt_BR/share" />
</target>

<target name="dist-amp-pt_PT" description="Create AMP file of the language pack pt_PT" depends="clean,prepare,build-explorer-pt_PT,build-share-pt_PT">
<zip destfile="${dist.dir}/pt_PT/alfresco-explorer-langpack-pt_PT.amp" basedir="${classes.dir}/pt_PT/explorer" />
<zip destfile="${dist.dir}/pt_PT/alfresco-share-langpack-pt_PT.amp" basedir="${classes.dir}/pt_PT/share" />
</target>

<target name="dist-amp-pt_ALL" description="Create AMP file of the language pack for Both languages (pt_PT and pt_BR)" depends="clean,prepare,build-explorer-pt_ALL,build-share-pt_ALL">
<zip destfile="${dist.dir}/pt_ALL/alfresco-explorer-langpack-pt_ALL.amp" basedir="${classes.dir}/explorer" />
<zip destfile="${dist.dir}/pt_ALL/alfresco-share-langpack-pt_ALL.amp" basedir="${classes.dir}/share" />
</target>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
##
## Meta commands
##

ok> help

List this help.

ok> r

Repeat last command.

##
## Quit / Exit
##

If running in a web browser, then close this window or tab (and logout from Alfresco Explorer or close the web browser).

If running as a command-line utility, then type 'quit' or 'exit'.

##
## General Repo Admin Commands
##

ok> show file <fileClassPath>

Output the contents of the file located at <fileClassPath>.

<fileClassPath> class path to a file

e.g. show file alfresco/extension/xxxModel.xml
e.g. show file alfresco/extension/yyy-messages.properties

ok> show file-list <filesClassPath>

Show list of files located at <filesClassPath> with first match being listed for each filename.

<filesClassPath> class path to a list of files. Wildcard * is allowed. For example, to see
a list of message resource bundles that would be loaded, use: /path1/path2/bundlename*.properties

e.g. show file-list alfresco/extension/*
e.g. show file-list alfresco/extension/*Model.xml
e.g. show file-list alfresco/extension/zzz-messages*.properties

##
## Model Admin Commands
##

ok> show models

Show deployed models - that are stored in the repository data dictionary.

ok> deploy model <fileClassPath>

Upload model to repository and load into runtime data dictionary. This will also
set the repository model as active.

If a model is already deployed then it will be updated and re-deployed.

e.g. deploy model alfresco/extension/exampleModel.xml

ok> undeploy model <modelFileName>

Permanently delete model from repository (all versions) and unload from runtime data dictionary.

e.g. undeploy model exampleModel.xml

ok> activate model <modelFileName>

Set repository model to active and load into runtime data dictionary.

e.g. activate model exampleModel.xml

ok> deactivate model <modelFileName>

Set repository model to inactive and unload from runtime data dictionary.

e.g. deactivate model exampleModel.xml

##
## Message Admin Commands
##

ok> show messages

Show deployed message resource bundles - that are stored in the repository data dictionary.

ok> deploy messages <resourceBundleClassPath>

Upload message resource bundle to repository and runtime message service.

e.g. deploy messages alfresco/extension/lifecycle-messages

ok> undeploy messages <resourceBundleBaseName>

Remove message resource bundle from repository and from runtime message service.

e.g. undeploy messages lifecycle-messages

ok> reload messages <resourceBundleBaseName>

Reload message resource bundle from repository into runtime message service.

e.g. reload messages lifecycle-messages

##
## end
##
Loading

0 comments on commit 79d1043

Please sign in to comment.