mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-16 21:01:10 +08:00
Merge pull request #784 from querydsl/i752
Integrate korean language docs into build
This commit is contained in:
commit
c3bcfe2b3f
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.mysema.querydsl</groupId>
|
||||
<artifactId>querydsl-root</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<relativePath>../querydsl-root/pom.xml</relativePath>
|
||||
<version>3.2.1</version>
|
||||
<relativePath>../querydsl-root/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<groupId>com.mysema.querydsl</groupId>
|
||||
@ -15,6 +15,7 @@
|
||||
<packaging>jdocbook</packaging>
|
||||
|
||||
<properties>
|
||||
<translation>en-US</translation>
|
||||
<xslthl.config>http://docbook.sourceforge.net/release/xsl/current/highlighting/xslthl-config.xml</xslthl.config>
|
||||
</properties>
|
||||
|
||||
@ -26,6 +27,7 @@
|
||||
<version>2.3.5</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<masterTranslation>${translation}</masterTranslation>
|
||||
<sourceDocumentName>Querydsl_Reference.xml</sourceDocumentName>
|
||||
<imageResource>
|
||||
<directory>${basedir}/src/main/docbook</directory>
|
||||
@ -39,11 +41,11 @@
|
||||
<formatName>html</formatName>
|
||||
<finalName>index.html</finalName>
|
||||
<stylesheetResource>file:${basedir}/src/main/styles/html/custom.xsl</stylesheetResource>
|
||||
</format>
|
||||
<format>
|
||||
<formatName>html_single</formatName>
|
||||
<finalName>index.html</finalName>
|
||||
<stylesheetResource>file:${basedir}/src/main/styles/html_single/custom.xsl</stylesheetResource>
|
||||
</format>
|
||||
<format>
|
||||
<formatName>html_single</formatName>
|
||||
<finalName>index.html</finalName>
|
||||
<stylesheetResource>file:${basedir}/src/main/styles/html_single/custom.xsl</stylesheetResource>
|
||||
</format>
|
||||
<format>
|
||||
<formatName>pdf</formatName>
|
||||
@ -65,28 +67,28 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jboss</id>
|
||||
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>jboss-thirdparty</id>
|
||||
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jboss</id>
|
||||
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>jboss-thirdparty</id>
|
||||
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY versionNumber "3.3.4">
|
||||
<!ENTITY copyrightYear "2007-2014">
|
||||
<!ENTITY copyrightHolder "Mysema Ltd.">
|
||||
<!ENTITY copyrightHolder "Original authors">
|
||||
]>
|
||||
<book xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<bookinfo>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY versionNumber "3.3.3">
|
||||
<!ENTITY copyrightYear "2007-2014">
|
||||
<!ENTITY copyrightHolder "Mysema Ltd.">
|
||||
<!ENTITY copyrightHolder "Original authors">
|
||||
]>
|
||||
<book xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<bookinfo>
|
||||
|
||||
@ -31,6 +31,8 @@ public List<Customer> getCustomer(String... names){
|
||||
|
||||
<para><code>BooleanBuilder</code>는 상태변경이 되며(mutable) 초기에는 null을,
|
||||
각 <code>and</code> 또는 <code>or</code> 호출 뒤에는 오퍼레이션의 결과를 표현한다.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
||||
@ -404,6 +404,7 @@ WHERE this.weeklyhours >
|
||||
|
||||
<para><code>JDOSQLQuery</code> 클래스를 사용하면 JDO의
|
||||
네이티브 SQL을 Querydsl에서 사용할 수 있다.
|
||||
</para>
|
||||
|
||||
<para>이걸 사용하려면 SQL 스키마를 위한 Querydsl 쿼라 티입을 생성해야 한다.
|
||||
다음은 이를 위한 Maven 설정 예를 보여주고 있다.
|
||||
|
||||
@ -165,6 +165,7 @@
|
||||
|
||||
<para>
|
||||
<code>com.mysema.query.jpa.codegen.HibernateDomainExporter</code>가 이 기능을 제공한다.
|
||||
</para>
|
||||
|
||||
<programlisting language="java"><![CDATA[
|
||||
HibernateDomainExporter exporter = new HibernateDomainExporter(
|
||||
|
||||
@ -582,7 +582,7 @@ ORDER BY c.last_name ASC, c.first_name ASC
|
||||
|
||||
<sect2>
|
||||
|
||||
<title그룹핑</title>
|
||||
<title>그룹핑</title>
|
||||
|
||||
<para>다음 형식을 이용해서 그룹핑을 한다.</para>
|
||||
|
||||
|
||||
@ -14,9 +14,11 @@ done
|
||||
|
||||
echo "Creating reference documentation"
|
||||
cd ../querydsl-docs
|
||||
mvn -Dxslthl.config=http://docbook.sourceforge.net/release/xsl/current/highlighting/xslthl-config.xml clean package
|
||||
mkdir -p ../querydsl-root/target/dist/reference
|
||||
mvn clean package
|
||||
cp -R target/docbook/publish/en-US/* ../querydsl-root/target/dist/reference/
|
||||
mvn -Dtranslation=ko-KR clean package
|
||||
cp -R target/docbook/publish/ko-KR ../querydsl-root/target/dist/reference/
|
||||
cd ../querydsl-root
|
||||
|
||||
echo "done."
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
echo "Creating reference documentation"
|
||||
cd ../querydsl-docs
|
||||
mvn -Dxslthl.config=http://docbook.sourceforge.net/release/xsl/current/highlighting/xslthl-config.xml clean package
|
||||
mvn clean package
|
||||
cd ../querydsl-root
|
||||
echo "done."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user